ref(tmux)
This commit is contained in:
parent
b6d0f27455
commit
ad425f8229
@ -82,6 +82,20 @@ bind -n M-j select-pane -D
|
|||||||
bind -n M-k select-pane -U
|
bind -n M-k select-pane -U
|
||||||
|
|
||||||
|
|
||||||
|
# Resizing
|
||||||
|
bind -n C-M-l resize-pane -R
|
||||||
|
bind -n C-M-h resize-pane -L
|
||||||
|
bind -n C-M-j resize-pane -D
|
||||||
|
bind -n C-M-k resize-pane -U
|
||||||
|
|
||||||
|
|
||||||
|
# Swappings panes
|
||||||
|
bind -n M-L swap-pane -t '{left-of}'
|
||||||
|
bind -n M-H swap-pane -t '{right-of}'
|
||||||
|
bind -n M-J swap-pane -t '{down-of}'
|
||||||
|
bind -n M-K swap-pane -t '{up-of}'
|
||||||
|
|
||||||
|
|
||||||
# Sync panes
|
# Sync panes
|
||||||
bind o if -F '#{pane_synchronized}' 'setw synchronize-panes off' 'setw synchronize-panes on'
|
bind o if -F '#{pane_synchronized}' 'setw synchronize-panes off' 'setw synchronize-panes on'
|
||||||
bind O setw synchronize-panes off
|
bind O setw synchronize-panes off
|
||||||
@ -136,20 +150,6 @@ bind \\ split-window -h -c "#{pane_current_path}"
|
|||||||
bind - split-window -v -c "#{pane_current_path}"
|
bind - split-window -v -c "#{pane_current_path}"
|
||||||
|
|
||||||
|
|
||||||
# Resizing
|
|
||||||
bind -n C-M-l resize-pane -R
|
|
||||||
bind -n C-M-h resize-pane -L
|
|
||||||
bind -n C-M-j resize-pane -D
|
|
||||||
bind -n C-M-k resize-pane -U
|
|
||||||
|
|
||||||
|
|
||||||
# Swappings panes
|
|
||||||
bind -n M-L swap-pane -d -t '{left-of}'
|
|
||||||
bind -n M-H swap-pane -d -t '{right-of}'
|
|
||||||
bind -n M-J swap-pane -d -t '{down-of}'
|
|
||||||
bind -n M-K swap-pane -d -t '{up-of}'
|
|
||||||
|
|
||||||
|
|
||||||
# Copy mode
|
# Copy mode
|
||||||
setw -g mode-keys vi
|
setw -g mode-keys vi
|
||||||
bind v copy-mode
|
bind v copy-mode
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user