mirror of
https://github.com/prurigro/darkcloud-tmuxconfig.git
synced 2024-11-23 07:34:10 -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 |
|
| Key(s) | Behaviour |
|
||||||
|-----------------------------------------|--------------------------------------------------------------------|
|
|-----------------------------------------|--------------------------------------------------------------------|
|
||||||
| `<Alt><Shift><Up,Down,Left,Right>` | Navigate to the pane in the respective direction |
|
| `<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 |
|
| `<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 |
|
| `<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-[0-9]` | Switch to the window with the respective index |
|
||||||
| `Alt-?` | Start searching up |
|
| `Alt-?` | Start searching up |
|
||||||
|
|
||||||
|
|
|
@ -110,18 +110,18 @@ bind P switch-client -p
|
||||||
bind N switch-client -n
|
bind N switch-client -n
|
||||||
#
|
#
|
||||||
# (without prefix) <alt><shift> + up,down,left and right to navigate between panes
|
# (without prefix) <alt><shift> + up,down,left and right to navigate between panes
|
||||||
bind -n M-S-Up select-pane -U
|
bind -n M-Up select-pane -U
|
||||||
bind -n M-S-Down select-pane -D
|
bind -n M-Down select-pane -D
|
||||||
bind -n M-S-Left select-pane -L
|
bind -n M-Left select-pane -L
|
||||||
bind -n M-S-Right select-pane -R
|
bind -n M-Right select-pane -R
|
||||||
#
|
#
|
||||||
# (without prefix) <alt> + N and P to move to the next and previous windows
|
# (without prefix) <alt> + N and P to move to the next and previous windows
|
||||||
bind -n M-N next-window
|
bind -n M-n next-window
|
||||||
bind -n M-P previous-window
|
bind -n M-p previous-window
|
||||||
#
|
#
|
||||||
# (without prefix) <ctrl><alt> + N and P to swap with the next and previous windows
|
# (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-n swap-window -d -t +
|
||||||
bind -n C-M-P 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
|
# (without prefix) <alt>[0-9] to switch directly to the window with the respective index
|
||||||
bind -n M-1 select-window -t 1
|
bind -n M-1 select-window -t 1
|
||||||
|
|
|
@ -110,18 +110,18 @@ bind P switch-client -p
|
||||||
bind N switch-client -n
|
bind N switch-client -n
|
||||||
#
|
#
|
||||||
# (without prefix) <alt><shift> + up,down,left and right to navigate between panes
|
# (without prefix) <alt><shift> + up,down,left and right to navigate between panes
|
||||||
bind -n M-S-Up select-pane -U
|
bind -n M-Up select-pane -U
|
||||||
bind -n M-S-Down select-pane -D
|
bind -n M-Down select-pane -D
|
||||||
bind -n M-S-Left select-pane -L
|
bind -n M-Left select-pane -L
|
||||||
bind -n M-S-Right select-pane -R
|
bind -n M-Right select-pane -R
|
||||||
#
|
#
|
||||||
# (without prefix) <alt> + N and P to move to the next and previous windows
|
# (without prefix) <alt> + N and P to move to the next and previous windows
|
||||||
bind -n M-N next-window
|
bind -n M-n next-window
|
||||||
bind -n M-P previous-window
|
bind -n M-p previous-window
|
||||||
#
|
#
|
||||||
# (without prefix) <ctrl><alt> + N and P to swap with the next and previous windows
|
# (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-n swap-window -d -t +
|
||||||
bind -n C-M-P 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
|
# (without prefix) <alt>[0-9] to switch directly to the window with the respective index
|
||||||
bind -n M-1 select-window -t 1
|
bind -n M-1 select-window -t 1
|
||||||
|
|
Loading…
Reference in a new issue