make vim bindings repeatable

Sat, 01 Oct 2016 00:53:24 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Sat, 01 Oct 2016 00:53:24 -0400
changeset 406
5465634eb01c
parent 405
62205e2a5972
child 407
f3ddcd72fa62

make vim bindings repeatable

.tmux/vim-keys.conf file | annotate | diff | comparison | revisions
--- 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