tmux-vim-bindings is vim-compatible tmux bindings (hotkeys) configuration as a TPM plugin. This plugin is compatible with ek9/tmux-config and ek9/vim-config.
Note! For an example config please check tmux.conf in ek9/shell-config.
Part of ek9/dotfiles collection.
Add plugin to the list of TPM plugins in .tmux.conf:
set -g @plugin 'ek9/tmux-vim-bindings'
Hit prefix + I to fetch the plugin and source it.
Alt+a(M-a) - prefix, used to issue commands. Most of the commands are bound toAltkey directly (e.g.Alt+numto change windows instead ofAlt+a num).Alt+a d- detachAlt+q- list key bindings (hotkeys)Alt+c- tmux cmd promptAlt+m- tmux man prompt
Minor tmux key optimizations:
Alt+a a(M-a a) - fast switching between alternate WindowsAlt+a r(M-a r) - reload tmux configuration (source~/.tmux.conf)
Alt+e(M-e) - list sessions
Alt+t(M-t) - new windowAlt+\`` (M-``) - toggle last windowAlt+NUM(M-NUM) - select window NUM (1-9)Alt+s(M-s) - split window horizontallyAlt+v(M-v) - split window verticallyAlt+w(M-w) - close window
Alt+Tab(M-Tab) - toggle last paneAlt+h/l/j/k(M-h/l/j/k) - pane selection (hljk)Alt+Shift+h/l/j/k(M-H/L/J/K) - pane resizeAlt+d(M-d) - swap pane forwardAlt+Shift+d(M-D) - swap pane backwardAlt+w(M-w) - close pane
Copyright (c) 2015-2017 ek9 [email protected] (https://ek9.co).
Licensed under MIT License.