Bind N and P to moving to the next and previous session

This commit is contained in:
Kevin MacMartin 2024-03-11 12:27:55 -04:00
parent f5d00f3a0e
commit 5835869a28
3 changed files with 9 additions and 0 deletions

View file

@ -37,6 +37,7 @@
| `W` | Write scrollback buffer to file |
| `V` | Enter **copy mode** |
| `<Ctrl>p` | Paste from the copy buffer |
| `N` and `P` | Move to the next and previous session |
### Without Prefix

View file

@ -107,6 +107,10 @@ bind Down select-pane -D
bind Left select-pane -L
bind Right select-pane -R
#
# bind N and P to next and previous session
bind N switch-client -n
bind P switch-client -p
#
# (without prefix) <alt><shift> + up,down,left and right to navigate between panes
bind -n M-S-Up select-pane -U
bind -n M-S-Down select-pane -D

View file

@ -107,6 +107,10 @@ bind Down select-pane -D
bind Left select-pane -L
bind Right select-pane -R
#
# bind N and P to next and previous session
bind N switch-client -n
bind P switch-client -p
#
# (without prefix) <alt><shift> + up,down,left and right to navigate between panes
bind -n M-S-Up select-pane -U
bind -n M-S-Down select-pane -D