Prior to this change, I was using Bash as the default shell, but I have
now started using Zsh, which has more features.
This change adds the zshrc and related plugin files to source control
and installs them along with the bashrc files. This also updates tmux to
use zsh as the default shell and command.
Prior to this change, I was using older versions of tmux. However, with
recent changes, I have got access to at least tmux version 2.0, which
removes the old mouse-* options and replaces them with a single `mouse`
option.
This change removes the settings for the old mouse-* options and
replaces them with the single mouse option.
It turns out that when tmux was launched with the TERM set to xterm, it
was causing tmux colors to go out of whack. This imports the original
setting from my previous environment which sets the tmux alias to launch
with the TERM set to screen-256color-bce
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