tmux: Add hjkl pane navigation and resizing
This commit is contained in:
parent
6f427f0c5b
commit
530f1d9729
15
.tmux.conf
15
.tmux.conf
@ -6,3 +6,18 @@ bind C-z send-prefix
|
||||
# open new panes in current directory
|
||||
bind % split-window -h -c "#{pane_current_path}"
|
||||
bind '"' split-window -v -c "#{pane_current_path}"
|
||||
|
||||
# vim-like pane navigation
|
||||
bind h select-pane -L
|
||||
bind j select-pane -D
|
||||
bind k select-pane -U
|
||||
bind l select-pane -R
|
||||
# resizing
|
||||
bind -r C-h resize-pane -L
|
||||
bind -r C-j resize-pane -D
|
||||
bind -r C-k resize-pane -U
|
||||
bind -r C-l resize-pane -R
|
||||
bind -r M-h resize-pane -L 5
|
||||
bind -r M-j resize-pane -D 5
|
||||
bind -r M-k resize-pane -U 5
|
||||
bind -r M-l resize-pane -R 5
|
||||
|
Loading…
Reference in New Issue
Block a user