tmux: Allow vims's hjkl to navigate panes
This commit is contained in:
@@ -24,6 +24,17 @@ bind -n M-Right select-pane -R
|
|||||||
bind -n M-Up select-pane -U
|
bind -n M-Up select-pane -U
|
||||||
bind -n M-Down select-pane -D
|
bind -n M-Down select-pane -D
|
||||||
|
|
||||||
|
unbind -T prefix l
|
||||||
|
bind -T prefix h select-pane -L
|
||||||
|
bind -T prefix j select-pane -D
|
||||||
|
bind -T prefix k select-pane -U
|
||||||
|
bind -T prefix l select-pane -R
|
||||||
|
# Allow holding Ctrl after pressing the prefix
|
||||||
|
bind -T prefix C-h select-pane -L
|
||||||
|
bind -T prefix C-j select-pane -D
|
||||||
|
bind -T prefix C-k select-pane -U
|
||||||
|
bind -T prefix C-l select-pane -R
|
||||||
|
|
||||||
# Resize panes with Alt-Shift-<arrow>
|
# Resize panes with Alt-Shift-<arrow>
|
||||||
bind -n M-S-Left resize-pane -L
|
bind -n M-S-Left resize-pane -L
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user