From d8508499a7f200dbc10ab290dfe9e3e3750fd2be Mon Sep 17 00:00:00 2001 From: Jon Kinney Date: Mon, 22 Dec 2014 22:39:29 -0600 Subject: [PATCH] Allow n/p to be repeated while holding down ctrl ...and tapping n or p Instead of having to tap an an an or ap ap ap while holding control, you just do ctrl-a (in my case) and then hold control and tap n n n or p p p --- sensible.tmux | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sensible.tmux b/sensible.tmux index 84854f1..d5caaf2 100755 --- a/sensible.tmux +++ b/sensible.tmux @@ -147,12 +147,12 @@ main() { tmux bind-key "$prefix_without_ctrl" last-window fi - # easier switching between next/prev window + # even easier switching between next/prev window if key_binding_not_set "C-p"; then - tmux bind-key C-p previous-window + tmux bind-key -r C-p previous-window fi if key_binding_not_set "C-n"; then - tmux bind-key C-n next-window + tmux bind-key -r C-n next-window fi # source `.tmux.conf` file - as suggested in `man tmux`