(C-x means ctrl+x, M-x means alt+x)
The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf
:
========================================== ========================================== | |
TMUX COMMAND WINDOW (TAB) | |
========================================== ========================================== | |
List tmux ls List ^b w | |
New new -s <session> Create ^b c | |
Attach att -t <session> Rename ^b , <name> | |
Rename rename-session -t <old> <new> Last ^b l (lower-L) | |
Kill kill-session -t <session> Close ^b & |
autocmd FileType python set tabstop=4|set shiftwidth=4|set expandtab|set softtabstop=4 | |
autocmd FileType ruby,eruby,yaml set tabstop=2|set shiftwidth=2|set expandtab|set softtabstop=2 |