add vi mode

This commit is contained in:
eneller
2022-05-12 09:43:48 +02:00
parent e449851e1d
commit 574ba6b1f9

View File

@@ -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