1
0
Fork 0
mirror of synced 2024-10-29 23:18:57 -04:00
Commit graph

63 commits

Author SHA1 Message Date
Gregory Pakosz
e8ef9a6f72 added the #{pretty_pane_current_path} variable 2024-10-12 10:43:12 +02:00
Gregory Pakosz
cd3744965a introduced tmux_conf_urlscan_options to configure urlscan invocation, resolves #745 2024-05-20 09:33:01 +02:00
Gregory Pakosz
69a0bedc36 tmux_conf_preserve_stock_bindings, resolves #553 2024-02-17 14:57:52 +01:00
Gregory Pakosz
b892bc155b introduced tmux_conf_new_session_retain_current_path, resolves #670 2024-02-09 10:13:28 +01:00
Gregory Pakosz
b70400e1ee added the #{wan_ip_v4} and #{wan_ip_v6} custom variable examples, resolves #281 2024-01-21 21:31:47 +01:00
Gregory Pakosz
eca5fb621b removed support for tmux < 2.6, resolves #698 2024-01-21 21:10:01 +01:00
Gregory Pakosz
1469d465f8 added support for defining TPM plugins with 'set -g @tpm_plugins', resolves #706 2024-01-17 19:22:00 +01:00
Gregory Pakosz
55d47e9c15 added support for connecting to the same host when creating a new window from a pane running an SSH session, resolves #632
see tmux_conf_new_window_reconnect_ssh

also fixed toggling tmux_conf_xxx_reconnect_ssh back and forth
2023-04-01 16:54:17 +02:00
Gregory Pakosz
79430acd85 added (back) window bell and window zoomed flags, resolves #628 2023-03-31 20:39:24 +02:00
Gregory Pakosz
9941420c6d added a way to mark set/bind/unbind commands as important in ~/.tmux.conf.local (2) 2023-03-05 17:26:21 +01:00
Gregory Pakosz
72f09fae75 added tmux_conf_theme that controles whether theming is enabled or disabled, resolves #536 2023-01-04 11:26:39 +01:00
Gregory Pakosz
aea75c7ea4 use %if ... %endif conditionals to enhance tmux_conf_theme_pane_active_border for tmux >= 3.2, resolves #490 2023-01-04 11:26:39 +01:00
Gregory Pakosz
5c41188a31 removed support for tmux < 2.4 2023-01-04 11:26:39 +01:00
sarumont
ccbfdf2091 added support for wl-clipboard, closes #589, closes #606
see https://github.com/bugaevc/wl-clipboard
2022-10-22 13:44:55 +02:00
Gregory Pakosz
18a111ff93 added a way to mark set/bind/unbind commands as important in ~/.tmux.conf.local, closes #571
inspired by css, any set/bind/unbind command ending with #!important will be
executed honored, e.g.:

bind-key -T copy-mode-vi Escape send-keys -X clear-selection #!important
2022-07-20 21:11:24 +02:00
Gregory Pakosz
52f1c4a3b1 updated the weather() sample function, closes #580
- increase the curl timeout to 2 seconds
- use curl -f -s instead of redirecting stderr to /dev/null
- print an empty line in case curl is not available or exists in error,
  which should prevent tmux from displaying <... not ready>
2022-07-16 20:36:33 +02:00
Gregory Pakosz
e865a8a1c1 added a way to selectively disable binding manipulation, closes #514
you can set the following variables to 'disabled':
  - tmux_conf_new_window_retain_current_path
  - tmux_conf_new_pane_retain_current_path
  - tmux_conf_new_pane_reconnect_ssh
  - tmux_conf_new_session_prompt
  - tmux_conf_copy_to_os_clipboard
2022-07-14 16:50:58 +02:00
Gregory Pakosz
f1cc46812b added RGB 24-bit colour support automatic detection 2022-05-23 08:08:33 +02:00
Gregory Pakosz
a97e3021cc updated tpm integration
- automatically delete tpm when not used
- automatically delete unused plugins
- install plugins when subsequently enabling then in ~/.tmux.conf.local
- use <prefix> + u to update plugins as <prefix> + U is bound to Urlview, fixes #507
2021-09-18 16:35:48 +02:00
Gregory Pakosz
a63dc5c6a9 check connectivity to github.com before installing and/or updating tpm and plugins, fixes #513 2021-08-30 22:23:07 +02:00
Gregory Pakosz
ed0b83a118 use single quotes for strings containing Unicode escapes, fixes #486 2021-06-05 22:22:34 +02:00
Gregory Pakosz
5abe651ccb remind people to not "uncomment" local functions in .tmux.conf.local 2021-02-25 14:02:46 +01:00
Gregory Pakosz
7a71a82b43 fixed #{online} custom variable implementation as ping -t is not portable, fixes #451 2021-01-25 17:38:53 +01:00
Gregory Pakosz
d950ee3c8c added support for tpm, resolves #61 2021-01-09 21:04:48 +01:00
Gregory Pakosz
8a4dabb196 added support for #{hostname_full} and #{hostname_full_ssh}, closes #361 2020-12-08 22:10:36 +01:00
Matthew Broomfield
e3960e5347 added icon for mouse mode, fixes #295
mouse icon is to the left of the battery by default.

_toggle_mouse no longer prints a status message as the status icon
should give enough information.
2020-11-24 17:33:23 +01:00
Gregory Pakosz
8c342edc6f fixed 'tmux_conf_theme_status_right' default value, fixes #422 2020-11-04 11:31:20 +01:00
Gregory Pakosz
88a10631c0 improved status line rendering, fixes #419
- non current windows now use separators when they're enabled
- fixed style for last window, window with activity and window with bell
2020-10-31 21:21:19 +01:00
Gregory Pakosz
d0e073dd08 added 'tmux_conf_theme_colour_XX' variables to ease theming
closes #189, closes #224, closes #255
2020-10-10 15:54:49 +02:00
Gregory Pakosz
8e2502abb3 added support for custom variables defined in ~/.tmux.conf.local
closes #96, closes #394
2020-10-02 23:04:33 +02:00
Gregory Pakosz
d6ea9ad9c7 split _battery() into _battery_status() and _battery_bar() to refresh #{battery_status} more quickly 2020-09-02 11:19:58 +02:00
Gregory Pakosz
e0a45082eb added support for #{uptime_y} variable 2019-06-22 21:48:03 +02:00
Gregory Pakosz
685c74128e implemented Unicode 4-digit and 8-digit parsing, resolves #148 and resolves #167
some examples:
- \u23f0 will be converted to the alarm clock symbol 
- \U1f47d will be converted to the alien emoji 👽
2019-06-09 17:47:23 +02:00
Gregory Pakosz
2a22e8b583 mentioned strftime '%I:%M %p' format in tmux_conf_theme_clock_style documentation 2019-03-19 22:42:31 +01:00
Gregory Pakosz
b3a9f75ea6 made window titles support additional variables. Fixes #178
tmux_conf_theme_window_status_format and tmux_conf_theme_window_status_current_format
variables now understand:
  - #{circled_session_name}
  - #{hostname}
  - #{hostname_ssh}
  - #{username}
  - #{username_ssh}
2018-08-11 16:54:07 +02:00
Gregory Pakosz
3d706977c8 added tmux_conf_theme_terminal_title. Fixes #168 2018-08-11 16:52:48 +02:00
Eric Renfro
105fb54755
Added syncing indicator to tmux status line
This checks for if the panes are synced or not, and provides and
indicator resembling it in  the status bar.
2018-08-05 11:30:54 -04:00
Gregory Pakosz
51cef6f32a added space to default tmux_conf_theme_pairing and tmux_conf_theme_prefix likely rendered as double width emojis 2017-09-26 21:42:00 +02:00
Gregory Pakosz
9d5817bb01 dual licensed under both the WTFPLv2 and MIT licenses. Resolves #102 2017-08-20 21:03:44 +02:00
Gregory Pakosz
fe615a2444 show how to start with mouse mode enabled. Closes #97 2017-07-09 10:52:56 +02:00
Gregory Pakosz
0d80a1e8ba mentioned tmux_conf_copy_to_os_clipboard requires xsel or xclip on Linux 2017-06-26 07:36:20 +02:00
Gregory Pakosz
ba6fe0a985 added U+1F50C as a suggestion for tmux_conf_battery_status_charging 2017-06-21 22:03:42 +02:00
Gregory Pakosz
7f48779a22 generalized options affecting bindings by parsing the output of tmux list-keys
and reinjecting modified commands into tmux bind-key, closes #68

applies to:
- tmux_conf_new_window_retain_current_path
- tmux_conf_new_pane_retain_current_path
- tmux_conf_new_pane_reconnect_ssh
- tmux_conf_copy_to_os_clipboard
2017-06-21 22:03:21 +02:00
Gregory Pakosz
264a577ba1 added tmux_conf_copy_to_os_clipboard variable, closes #75
When true, copying selection with y in copy mode also sends selection to the OS
clipboard.
2017-05-17 22:23:23 +02:00
Gregory Pakosz
6b7d2e7513 show how to replace C-b by C-a instead of using both prefixes 2017-05-10 14:53:29 +02:00
Gregory Pakosz
8e174fef28 stopped using U+26A1 and U+1F50B for battery charging status indicator by default
Closes #32, #51 and #55
2017-04-08 21:37:00 +02:00
Yang Tang
8390d37ed8 added #{load_avg} 2016-11-04 20:40:17 +01:00
Gregory Pakosz
f828eafc2b added #{battery_hbar} using U+258F - U+2588 2016-10-31 21:34:27 +01:00
Gregory Pakosz
1503232773 major rewrite, closes #10, #23, #30 and #31
- status-justify aware status line
- flexible status line definition with many new variables/indicators:
  - #{battery_bar}, #{battery_vbar}, #{battery_percentage}
  - #{uptime_d}, #{uptime_h}, #{uptime_m}, #{uptime_s}
  - #{pairing}, #{prefix}, #{root}
  - #{username}, #{username_ssh}, #{hostname}, #{hostname_ssh}
  - ...
- smart username and hostname variables:
  - detects root user
  - detects SSH sessions to remote servers
- support for circled session names (when number) and window identifiers up to 20:
  - #{circled_session_name}, #{circled_window_index}
- support for connecting to the same host when splitting a pane running an SSH session
- support for 24b colours
- support for OpenBSD (tested with OpenBSD 6.0)
- cleaned everything with shellcheck
2016-10-27 23:42:01 +02:00
Gregory Pakosz
9f939fd939 fixed various typos, closes #17, #19 and #21 2016-10-26 12:51:13 +02:00