mirror of
https://github.com/prurigro/darkcloud-tmuxconfig.git
synced 2024-12-27 11:04:34 -05:00
Don't require shift for navigation around (tmux 3.5 breaks ctrl+alt+shift+n/p)
This commit is contained in:
parent
5320d98687
commit
10ed3ecea9
3 changed files with 19 additions and 19 deletions
|
@ -43,9 +43,9 @@
|
|||
|
||||
| Key(s) | Behaviour |
|
||||
|-----------------------------------------|--------------------------------------------------------------------|
|
||||
| `<Alt><Shift><Up,Down,Left,Right>` | Navigate to the pane in the respective direction |
|
||||
| `<Alt>N` and `<Alt>P` | Switch to the next and previous window |
|
||||
| `<Ctrl><Alt>N` and `<Ctrl><Alt>P` | Swap the current window with the next and previous window |
|
||||
| `<Alt><Up,Down,Left,Right>` | Navigate to the pane in the respective direction |
|
||||
| `<Alt>n` and `<Alt>p` | Switch to the next and previous window |
|
||||
| `<Ctrl><Alt>n` and `<Ctrl><Alt>p` | Swap the current window with the next and previous window |
|
||||
| `Alt-[0-9]` | Switch to the window with the respective index |
|
||||
| `Alt-?` | Start searching up |
|
||||
|
||||
|
|
|
@ -110,18 +110,18 @@ bind P switch-client -p
|
|||
bind N switch-client -n
|
||||
#
|
||||
# (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
|
||||
bind -n M-S-Left select-pane -L
|
||||
bind -n M-S-Right select-pane -R
|
||||
bind -n M-Up select-pane -U
|
||||
bind -n M-Down select-pane -D
|
||||
bind -n M-Left select-pane -L
|
||||
bind -n M-Right select-pane -R
|
||||
#
|
||||
# (without prefix) <alt> + N and P to move to the next and previous windows
|
||||
bind -n M-N next-window
|
||||
bind -n M-P previous-window
|
||||
bind -n M-n next-window
|
||||
bind -n M-p previous-window
|
||||
#
|
||||
# (without prefix) <ctrl><alt> + N and P to swap with the next and previous windows
|
||||
bind -n C-M-N swap-window -d -t +
|
||||
bind -n C-M-P swap-window -d -t -
|
||||
bind -n C-M-n swap-window -d -t +
|
||||
bind -n C-M-p swap-window -d -t -
|
||||
#
|
||||
# (without prefix) <alt>[0-9] to switch directly to the window with the respective index
|
||||
bind -n M-1 select-window -t 1
|
||||
|
|
|
@ -110,18 +110,18 @@ bind P switch-client -p
|
|||
bind N switch-client -n
|
||||
#
|
||||
# (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
|
||||
bind -n M-S-Left select-pane -L
|
||||
bind -n M-S-Right select-pane -R
|
||||
bind -n M-Up select-pane -U
|
||||
bind -n M-Down select-pane -D
|
||||
bind -n M-Left select-pane -L
|
||||
bind -n M-Right select-pane -R
|
||||
#
|
||||
# (without prefix) <alt> + N and P to move to the next and previous windows
|
||||
bind -n M-N next-window
|
||||
bind -n M-P previous-window
|
||||
bind -n M-n next-window
|
||||
bind -n M-p previous-window
|
||||
#
|
||||
# (without prefix) <ctrl><alt> + N and P to swap with the next and previous windows
|
||||
bind -n C-M-N swap-window -d -t +
|
||||
bind -n C-M-P swap-window -d -t -
|
||||
bind -n C-M-n swap-window -d -t +
|
||||
bind -n C-M-p swap-window -d -t -
|
||||
#
|
||||
# (without prefix) <alt>[0-9] to switch directly to the window with the respective index
|
||||
bind -n M-1 select-window -t 1
|
||||
|
|
Loading…
Reference in a new issue