diff --git a/readme.md b/readme.md index 26ed23a..7bf365c 100644 --- a/readme.md +++ b/readme.md @@ -43,9 +43,9 @@ | Key(s) | Behaviour | |-----------------------------------------|--------------------------------------------------------------------| -| `` | Navigate to the pane in the respective direction | -| `N` and `P` | Switch to the next and previous window | -| `N` and `P` | Swap the current window with the next and previous window | +| `` | Navigate to the pane in the respective direction | +| `n` and `p` | Switch to the next and previous window | +| `n` and `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 | diff --git a/tmux.normal.conf b/tmux.normal.conf index fcf7c69..e823d41 100644 --- a/tmux.normal.conf +++ b/tmux.normal.conf @@ -110,18 +110,18 @@ bind P switch-client -p bind N switch-client -n # # (without prefix) + 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) + 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) + 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) [0-9] to switch directly to the window with the respective index bind -n M-1 select-window -t 1 diff --git a/tmux.powerline.conf b/tmux.powerline.conf index 3d38dd1..0e0c587 100644 --- a/tmux.powerline.conf +++ b/tmux.powerline.conf @@ -110,18 +110,18 @@ bind P switch-client -p bind N switch-client -n # # (without prefix) + 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) + 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) + 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) [0-9] to switch directly to the window with the respective index bind -n M-1 select-window -t 1