With Terminal.app, the background color was getting set to base02
instead of base03, therefore, I had to use base03 (brightblack) to
distinguish the tmux status bar from the rest of the screen. It would
be a problem with vim (not so much really, since I could figure out
where the tmux status bar was based on the vim status line).
However, since iTerm2 is a better terminal emulator, it correctly
displays the background color as base03, so in order to distinguish the
status bar, I changed the color to base02 (black) instead.
This eases usage with readline and avoids XOFFing your screen everytime
you hit C-s by accident. This change also modifies a couple of key
bindings, such as using C-s C-s to switch to the last window, and C-s
M-k to clear the scrollback history and C-s C-y to toggle pane sync
Changes to tmux.conf
- Make it easier for users to adjust the colorscheme by using named
constants to store the color names.
- Highlight the active window using additional attributes instead of
a jarring background.
- Enable the aggressive-resize option
- Remove unused key bindings
- Bind L to choose-session
- Allow the escape key to quit the choice window