.tmux/vim-keys.conf

changeset 406
5465634eb01c
parent 402
cb0889a78173
--- a/.tmux/vim-keys.conf
+++ b/.tmux/vim-keys.conf
@@ -15,18 +15,18 @@ bind s split-window -v
 bind v split-window -h
 
 # move around panes with hjkl, as one would in vim after pressing ctrl-w
-bind h select-pane -L
-bind j select-pane -D
-bind k select-pane -U
-bind l select-pane -R
+bind -r h select-pane -L
+bind -r j select-pane -D
+bind -r k select-pane -U
+bind -r l select-pane -R
 
 # resize panes like vim
 # feel free to change the "1" to however many lines you want to resize by, only
 # one at a time can be slow
-bind < resize-pane -L 3
-bind > resize-pane -R 3
-bind - resize-pane -D 3
-bind + resize-pane -U 3
+bind -r < resize-pane -L 3
+bind -r > resize-pane -R 3
+bind -r - resize-pane -D 3
+bind -r + resize-pane -U 3
 
 # bind : to command-prompt like vim
 # this is the default in tmux already

mercurial