Improve tmux pane navigation
This commit is contained in:
parent
005658dcc8
commit
9157eb062f
23
.tmux.conf
23
.tmux.conf
|
@ -9,12 +9,25 @@ set-option -g default-terminal "screen-256color"
|
|||
|
||||
set -g bell-action current
|
||||
|
||||
bind-key . source-file ~/.tmux.conf
|
||||
bind-key . source-file ~/.tmux.conf \; display-message "~/.tmux.conf reloaded"
|
||||
|
||||
bind-key -n M-h select-pane -L
|
||||
bind-key -n M-j select-pane -D
|
||||
bind-key -n M-k select-pane -U
|
||||
bind-key -n M-l select-pane -R
|
||||
|
||||
# Fine adjustment (1 or 2 cursor cells per bump)
|
||||
bind -n S-Left resize-pane -L 2
|
||||
bind -n S-Right resize-pane -R 2
|
||||
bind -n S-Down resize-pane -D 1
|
||||
bind -n S-Up resize-pane -U 1
|
||||
|
||||
# Coarse adjustment (5 or 10 cursor cells per bump)
|
||||
bind -n C-Left resize-pane -L 10
|
||||
bind -n C-Right resize-pane -R 10
|
||||
bind -n C-Down resize-pane -D 5
|
||||
bind -n C-Up resize-pane -U 5
|
||||
|
||||
bind-key -n C-h select-pane -L
|
||||
bind-key -n C-j select-pane -D
|
||||
bind-key -n C-k select-pane -U
|
||||
bind-key -n C-l select-pane -R
|
||||
|
||||
set -g status-bg black
|
||||
set -g status-fg white
|
||||
|
|
Loading…
Reference in New Issue