Change tmux default to zsh

From man tmux: default-shell path Specify the default shell. This is used as the login shell for new windows when the default-command option is set to empty, and must be the full path of the executable. When started tmux tries to set a default value from the first suitable of the SHELL environment variable, the … Read more

Select Pane with C- in tmux

Not exactly the way you are looking for, but I doubt you have a reason not to love the following: display-panes or the likes (<prefix> + q by default), enter the number of the pane you are switching to.

How to start tmux with several windows in different directories?

Tmuxinator is also really good for this. Basically you create setup files like so: # ~/.tmuxinator/project_name.yml # you can make as many tabs as you wish… project_name: Tmuxinator project_root: ~/code/rails_project socket_name: foo # Not needed. Remove to use default socket rvm: 1.9.2@rails_project pre: sudo /etc/rc.d/mysqld start tabs: – editor: layout: main-vertical panes: – vim – … Read more

vim in tmux background color changes when paging

As explained here, disable Background Color Erase (BCE) by clearing the t_ut terminal option (run :set t_ut= in Vim and then press Control+L to refresh the terminal’s display) so that color schemes work properly when Vim is used inside tmux and GNU screen. Per the above link, BCE can be set in .vimrc by adding … Read more