Commit Graph

79 Commits

Author SHA1 Message Date
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
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 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
Gregory Pakosz 3ce560c230 use awk instead of bc which isn't available on a default Cygwin install 2015-10-11 17:53:19 +02:00
Gregory Pakosz 6a7bdd3efe updated README.md 2015-10-11 17:52:39 +02:00
Gregory Pakosz 5133275e15 detect old or new tmux mouse support and use proper options accordingly 2015-09-17 22:16:29 +02:00
Gregory Pakosz 300dc1d069 updated README.md 2015-09-16 00:00:57 +02:00
Gregory Pakosz 53abd1dca8 use new tmux mouse support 2015-09-14 21:41:45 +02:00
Gregory Pakosz 81b6897294 pimped the battery indicator with a gradient palette 2015-09-14 21:17:06 +02:00
Gregory Pakosz db80cb7fc4 added Facebook PathPicker integration 2015-08-06 12:29:37 +02:00
Gregory Pakosz 3007fa8f6c added urlview integration 2015-08-06 12:29:37 +02:00
Gregory Pakosz b480fc00fb don't rename window as part of default-command 2015-08-06 12:29:37 +02:00
Gregory Pakosz 2feb71aac5 made <prefix> e work with the fish shell 2015-08-06 12:29:37 +02:00
Gregory Pakosz ad6413365e fixed heat palette battery display when remaining percentage <= 5% 2015-04-30 12:15:08 +02:00
Gregory Pakosz b37311fbbe added battery status indicator (charging / discharging) 2015-04-27 18:17:02 +02:00
Gregory Pakosz 3e7170ecf5 fixed the maximize pane feature for the fish shell 2015-04-23 21:55:03 +02:00
Gregory Pakosz 6d25ce6f3a added a link to http://brew.sh/ to README.md 2015-04-15 15:15:35 +02:00
Gregory Pakosz e5117980de pimped the battery indicator with a heat palette 2015-04-15 15:14:28 +02:00
Gregory Pakosz 417fdb27f5 detect whether default status-left value has a trailing space 2014-12-29 13:51:04 +01:00
Gregory Pakosz 1667cf9171 configurable new windows and panes behavior (optionally retain current path) 2014-12-17 20:47:06 +01:00
Gregory Pakosz ecbb8d55f7 kill placeholder pane when trying to minimize a dead pane 2014-12-12 12:01:52 +01:00
Gregory Pakosz a5ce0116a4 added more vi key bindings 2014-11-23 11:20:58 +01:00