add vi mode
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
#CONFIGURATION
|
||||
set-option -g allow-rename off # dont rename windows on command execution
|
||||
set-option -g prefix C-a # rebind tmux prefix to CTRL + a because vim uses default CTRL + b
|
||||
bind-key C-a last-window # double-press of CTRL + a (tmux prefix) switches to previous window
|
||||
set-window-option -g mode-keys vi # vi mode
|
||||
set-option -g allow-rename off # dont rename windows on command execution TODO fix
|
||||
set -s escape-time 0 # dont delay escape key in vim
|
||||
set -g base-index 1 # start windows numbering at 1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user