Add .tmux.conf
This commit is contained in:
parent
166ac4ce48
commit
9c1ed36e6e
|
@ -0,0 +1,29 @@
|
||||||
|
set-window-option -g mode-keys vi
|
||||||
|
|
||||||
|
bind-key -T copy-mode-vi 'v' send -X begin-selection
|
||||||
|
bind-key -T copy-mode-vi 'y' send -X copy-selection-and-cancel
|
||||||
|
|
||||||
|
# vimlike bindings
|
||||||
|
|
||||||
|
# pane switching
|
||||||
|
bind -r k select-pane -U
|
||||||
|
bind -r j select-pane -D
|
||||||
|
bind -r h select-pane -L
|
||||||
|
bind -r l select-pane -R
|
||||||
|
|
||||||
|
# pane resizing
|
||||||
|
bind -r C-k resize-pane -U
|
||||||
|
bind -r C-j resize-pane -D
|
||||||
|
bind -r C-h resize-pane -L
|
||||||
|
bind -r C-l resize-pane -R
|
||||||
|
|
||||||
|
# unbind keys
|
||||||
|
unbind Up
|
||||||
|
unbind Down
|
||||||
|
unbind Left
|
||||||
|
unbind Right
|
||||||
|
|
||||||
|
unbind C-Up
|
||||||
|
unbind C-Down
|
||||||
|
unbind C-Left
|
||||||
|
unbind C-Right
|
Loading…
Reference in New Issue