Commit Graph
100 Commits
Author SHA1 Message Date
Gregory Pakosz ef8962bb39 bind y to pbcopy when reattach-to-username is not present 2019-05-06 22:40:33 +02:00
Gregory Pakosz e631331281 fixed buggy battery detection logic, likely fixes #233 2019-05-06 22:39:18 +02:00
Gregory Pakosz 9fbde7b9b1 fixed the _tty_info() and _ssh_or_mosh_args() helpers logic
- filtered ssh master connections in _tty_info()
- filtered processes reparented to pid 1
2019-05-04 10:00:52 +02:00
Gregory Pakosz e1452f1242 worked around tmux 2.9 "style inheritance" behavior change, fixes #237 2019-04-25 09:29:48 +02:00
Gregory Pakosz 6bb3f0fd43 added .gitattributes to make sure .tmux.conf and .tmux.conf.local have LF line endings, resolves #235 2019-04-23 14:04:25 +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 2b0cb0b43c updated README.md to show how to 'curl wttr.in' to display weather, resolves #71 2019-02-03 11:19:53 +01:00
Gregory Pakosz 352dfed5e2 refactored #{username}, #{username_ssh}, #{hostname} and #{hostname_ssh}
- improved and extracted pane current command introspection into the _tty_info() helper
- added Mosh support to #{username_ssh} and #{hostname_ssh}. Fixes #127
2019-01-05 17:32:54 +01:00
Gregory Pakosz 3e649a58dd renamed _circled_digit() to _circled() as it goes up to 20 2018-12-31 10:38:49 +01:00
Gregory Pakosz ffb1c54769 Revert "do not use repeatable bindings for pane and windows navigation. Fixes #166"
This reverts commit 7ebc59956a.
2018-08-21 22:46:02 +02: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
Gregory PakoszandGitHub 862c22cd3f Merge pull request #176 from DivoK/master
Fixed missing vi-copy / copy-mode-vi H/L keybindings.
2018-08-09 11:35:46 +02:00
Gregory Pakosz 08334a6451 accomodate for slow shell init in _maximize_pane(). Fixes #170 2018-08-06 08:49:58 +02:00
Gregory Pakosz 7ebc59956a do not use repeatable bindings for pane and windows navigation. Fixes #166 2018-08-06 08:49:58 +02:00
Gregory PakoszandGitHub ac61dd04e0 Merge pull request #172 from erenfro/erenfro/add-syncing-indicator
Added syncing indicator to tmux status line
2018-08-06 08:47:28 +02:00
Gregory Pakosz 8481ec351b do not take into account peripheral device batteries when computing battery charge, fixes #161 2018-05-28 08:54:32 +02:00
Gregory Pakosz faece14dbd improved 24b colours override 2018-03-05 21:17:24 +01:00
Gregory Pakosz dd74d33bee fixed typo in README.md 2018-02-04 21:44:59 +01:00
Gregory Pakosz 7f20c79d46 made heat battery palette more visible by removing darker shades. Fixes #138 2018-01-16 17:45:43 +01:00
Gregory Pakosz e1c968d020 removed trailing 'set -x' / 'set +x' debug code 2017-12-19 08:01:27 +01:00
Gregory Pakosz 08f442bd0a updated README.md with pane splitting commands. Fixes #124 2017-12-17 11:10:40 +01:00
Gregory Pakosz e76d0fc8d9 fixed README.md still mentioning 'vi-copy', 'vi-edit' and 'vi-choice' mode keys. Fixes #121 2017-11-29 21:43:24 +01:00
Gregory Pakosz 5907c00039 fixed stderr redirection bug in _maximize_pane(). Fixes #116 2017-11-18 12:40:43 +01:00
Gregory Pakosz 4cf765468a fixed bindings reinjection when tmux_conf_new_pane_reconnect_ssh=true. Fixes #115 2017-11-17 09:15:39 +01:00
Gregory Pakosz 89465385db replace 'export LC_ALL=C' with 'export LC_NUMERIC=C'. Fixes #108 and #110 2017-10-14 23:44:53 +02:00
Gregory Pakosz a071b001cf export LC_ALL=C to avoid decimal separator issues 2017-09-26 21:42:00 +02: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 2849c14e0c fixed maximize pane not supporting session names with spaces 2017-09-26 21:42:00 +02:00
Gregory Pakosz 7cdc172e22 properly quote %% when prompting for session name 2017-09-08 23:36:41 +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 10a445b491 wait a bit more between sending C-l to the terminal and clearing tmux history 2017-07-21 09:18:10 +02:00
Gregory Pakosz e7cbc84bed removed tmux <= 2.0 feature tests that cause orphan processes when using oh-my-zsh. Fixes #84 and #88 (2) 2017-07-17 12:04:55 +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 03ec982a50 simplified _toggle_mouse() implementation 2017-07-09 10:52:56 +02:00
Gregory Pakosz 07685c156d updated README.me referencing tmux2 book by @bphogan 2017-07-09 10:48:26 +02:00
Gregory Pakosz 513e77b03b made bindings reinjection more robust. Closes #89 2017-06-26 20:45:29 +02:00
Gregory Pakosz 09fc3d5b48 fixed battery status information on macOS. Fixes #91 (2) 2017-06-26 13:30:31 +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 98a896bc69 fixed tmux_conf_copy_to_os_clipboard on Linux when xclip is installed and not xsel 2017-06-26 07:35:21 +02:00
Gregory Pakosz 27b262fda8 fixed battery status information on macOS. Fixes #91 2017-06-25 11:41:11 +02:00
Gregory Pakosz 6fc4ad76b7 removed tmux <= 2.0 feature tests that cause orphan processes when using oh-my-zsh. Fixes #84 and #88 (2) 2017-06-22 21:36:46 +02:00
Gregory Pakosz 68f1509735 removed tmux <= 2.0 feature tests that cause orphan processes when using oh-my-zsh. Fixes #84 and #88 2017-06-21 22:03:43 +02:00
Gregory Pakosz 08072d0915 updated README.md reminding people Windows' console doesn't support Powerline look 2017-06-21 22:03:42 +02:00
Gregory Pakosz 77845432ab fixed typo in README.md 2017-06-21 22:03:42 +02:00
Gregory Pakosz a37c66b460 updated README.md advertizing the copy to OS clipboard feature 2017-06-21 22:03:42 +02:00
Gregory Pakosz 1d1f2ea22b updated README.md advising against using Cygwin 2017-06-21 22:03:42 +02:00
Gregory Pakosz 15f03e7ce6 fixed #{username} broken under Cygwin 2017-06-21 22:03:42 +02:00
Gregory Pakosz 32c14a61c6 made battery and uptime work under MSYS2 / MINGW 2017-06-21 22:03:42 +02:00
Gregory Pakosz 680783c91b added support for multiple batteries, resolves #73 2017-06-21 22:03:42 +02:00
Gregory Pakosz a631d03b29 use grep -E instead of egrep as per shellcheck SC2196 warning 2017-06-21 22:03:42 +02:00
Gregory Pakosz cb4ded9fcb moved buffer bindings to a dedicated section 2017-06-21 22:03:42 +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 785ba173a3 worked around tmux 2.4 not properly refreshing status, see tmux/tmux#922 2017-05-13 14:23:45 +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 c937131a5e updated README.md with troubleshooting instructions for Windows WSL 2017-04-19 15:15:39 +02:00
Gregory Pakosz 305bff6226 fixed typo in README.md 2017-04-08 22:32:36 +02:00
Gregory Pakosz cab561ad61 converted tabs to spaces. Closes #59 2017-04-08 21:37:01 +02:00
Gregory Pakosz b0c3b6a09f tmux 2.4 got rid of mode keys. Closes #42
- vi-copy is replaced by a normal copy-mode-vi key table
- vi-edit and vi-choice are gone
2017-04-08 21:37:00 +02:00
Gregory Pakosz 4aada9c712 updated README.me with troubleshooting instructions. Closes #56 and #60 2017-04-08 21:37:00 +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
Gregory Pakosz 355d2bdc75 explained the concept of prefix and command keys for newcomers. Closes #54 2017-04-08 21:37:00 +02:00
Gregory Pakosz 3ef7fe67b5 fixed maximize pane not succeeding in maximizing the current pane 2017-02-28 17:12:22 +01:00
Gregory Pakosz 5746e69af7 raised escape-time to 10 ms to unbreak tmux under WSL, fixes #52 2017-02-28 13:00:42 +01:00
Gregory Pakosz 95f88dee38 replaced the fancy ►_◄ heredoc EOF marker to make Raspberry Pis happy 2017-02-09 15:01:48 +01:00
Gregory Pakosz 718adf13e3 removed leftover debugging code in _username() 2017-01-03 14:13:39 +01:00
Gregory Pakosz ba20476af6 fixed default-command when using fish shell, fixes #46 2016-12-21 17:56:11 +01:00
Gregory Pakosz 37586cdd60 made default-command use the value of default-shell 2016-12-05 12:25:34 +01:00
Gregory Pakosz 1bfce57aaa fixed maximize pane when another session already contains a maximized window, fixes #37 2016-11-09 20:31:47 +01:00
Gregory Pakosz 71a2b76681 fixed shellcheck warnings 2016-11-08 21:15:14 +01:00
Gregory Pakosz f828eafc2b added #{battery_hbar} using U+258F - U+2588 2016-10-31 21:34:27 +01:00
Gregory Pakosz 689f2f0f2c fixed #{battery_bar} and #{battery_vbar} when not using heat or gradient palettes
fixes #35
2016-10-31 18:36:20 +01:00
Gregory Pakosz b422155422 updated installation instructions to use ln -s -f 2016-10-31 10:28:38 +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 15d593398f enable focus events 2016-10-26 12:51:13 +02:00
Gregory Pakosz 959844df3a added new variables for separators and removed separator in windows-status-current-format
tmux_conf_theme_left_separator_main
  tmux_conf_theme_left_separator_sub
  tmux_conf_theme_right_separator_main
  tmux_conf_theme_right_separator_sub

closes #24
2016-10-26 12:51:13 +02:00
Gregory Pakosz 9f939fd939 fixed various typos, closes #17, #19 and #21 2016-10-26 12:51:13 +02:00
Gregory Pakosz 2a7a0c39b6 made C-l more robust by using not shelling out to clear history 2016-07-29 18:34:03 +02:00
Gregory Pakosz 8d847600db test for buggy swap-pane command in tmux 1.9 and 1.9a once in apply_configuration() 2016-04-20 21:58:26 +02:00
Gregory Pakosz 5156c9fe23 added licensing information: released under the WTFPL v2 license 2016-03-29 09:21:00 +02:00
Gregory Pakosz d56bfa1c7d do not create a subshell in urlview() and fpp() 2016-03-29 09:21:00 +02:00
Gregory Pakosz de55dc6e6a added a percentage style to the battery indicator 2016-03-29 09:21:00 +02:00
Gregory Pakosz 33e0fe5468 updated README.md 2015-12-31 11:28:40 +01:00
Gregory Pakosz db751a501c status-utf8 and utf-8 options are gone 2015-12-29 09:13:30 +01:00
Gregory Pakosz eabfb553a8 do not rely on ${parameter:offset:length} substring expansion not supported by dash 2015-12-06 14:57:39 +01:00
Gregory Pakosz 01b9b433f9 use /sys/class/power_supply/BATx/capacity when available 2015-12-06 12:02:47 +01:00
Gregory Pakosz ea254d494f optionally highlight the focused pane 2015-12-05 15:56:22 +01:00
Gregory Pakosz cb3d2ac9f3 reduce the number of times loading the configuration shells out 2015-11-02 22:15:06 +01:00
Gregory Pakosz 1491ee1723 made battery status work from within Cygwin 2015-10-30 08:53:24 +01:00
Gregory Pakosz c66be48314 added an indicator in the status line that shows if <prefix> has been pressed 2015-10-28 21:26:23 +01:00
Gregory Pakosz b9943589e3 optionally prompt for session name when creating a new session 2015-10-26 21:08:34 +01:00
Gregory Pakosz 921c6d14d0 made the theme more flexible by adding configuration variables 2015-10-26 21:08:34 +01:00
Gregory Pakosz 748dc7a19b updated README.md 2015-10-26 21:08:34 +01:00
Gregory Pakosz 4587413028 unbind <prefix> n and <prefix> p
By default <prefix> n and <prefix> p are bound to next/previous-window.

However, this configuration is Vim centric and window navigation is achieved
with <prefix> C-h and <prefix> C-l.

While <prefix> n is currently left unused, <prefix> p is bound to paste-buffer.
2015-10-22 13:06:01 +02:00
Gregory Pakosz 3e516380a1 bind <prefix> Tab to last-window and leave <prefix> Space untouched (bound to next-layout by default) 2015-10-21 21:55:39 +02:00
Gregory Pakosz 847ce589a9 bind urlview and Facebook PathPicker to <prefix> U and <prefix> F instead of <prefix> u and <prefix> f 2015-10-18 11:42:24 +02:00
Gregory Pakosz 546ef75994 fixed <prefix> " and <prefix> % which were inverted by mistake 2015-10-13 11:29:05 +02:00
Gregory Pakosz aa966c5708 made <prefix> e edit ~/.tmux.conf.local instead of ~/.tmux.conf 2015-10-11 20:37:58 +02:00