mirror of
https://github.com/tmux-plugins/tmux-sensible.git
synced 2024-11-24 00:48:46 +00:00
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
This commit is contained in:
parent
22d1305cb7
commit
d8508499a7
@ -147,12 +147,12 @@ main() {
|
|||||||
tmux bind-key "$prefix_without_ctrl" last-window
|
tmux bind-key "$prefix_without_ctrl" last-window
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# easier switching between next/prev window
|
# even easier switching between next/prev window
|
||||||
if key_binding_not_set "C-p"; then
|
if key_binding_not_set "C-p"; then
|
||||||
tmux bind-key C-p previous-window
|
tmux bind-key -r C-p previous-window
|
||||||
fi
|
fi
|
||||||
if key_binding_not_set "C-n"; then
|
if key_binding_not_set "C-n"; then
|
||||||
tmux bind-key C-n next-window
|
tmux bind-key -r C-n next-window
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# source `.tmux.conf` file - as suggested in `man tmux`
|
# source `.tmux.conf` file - as suggested in `man tmux`
|
||||||
|
Loading…
Reference in New Issue
Block a user