update tmux deprecated function
This commit is contained in:
+10
-9
@@ -1,22 +1,23 @@
|
|||||||
set-option -sg escape-time 10
|
set-option -sg escape-time 10
|
||||||
set-option -g default-terminal "screen-256color"
|
set-option -g default-terminal "screen-256color"
|
||||||
|
set-option -g history-limit 6000
|
||||||
|
|
||||||
set-option -sa terminal-overrides ',xterm-256color:RGB'
|
set-option -sa terminal-overrides ',xterm-256color:RGB'
|
||||||
setw -g mode-keys vi
|
setw -g mode-keys vi
|
||||||
bind-key -T copy-mode-vi 'v' send -X begin-selection
|
bind-key -T copy-mode-vi 'v' send -X begin-selection
|
||||||
bind -T copy-mode-vi 'y' send-keys -X copy-pipe-and-cancel 'xclip -in -selection clipboard'
|
bind-key -T copy-mode-vi 'y' send-keys -X copy-pipe-and-cancel 'xclip -in -selection clipboard'
|
||||||
|
|
||||||
# vim-like pane resizing
|
# vim-like pane resizing
|
||||||
bind -r C-k resize-pane -U
|
bind-key -r C-k resize-pane -U
|
||||||
bind -r C-j resize-pane -D
|
bind-key -r C-j resize-pane -D
|
||||||
bind -r C-h resize-pane -L
|
bind-key -r C-h resize-pane -L
|
||||||
bind -r C-l resize-pane -R
|
bind-key -r C-l resize-pane -R
|
||||||
|
|
||||||
# vim-like pane switching
|
# vim-like pane switching
|
||||||
bind -n C-k select-pane -U
|
bind-key -n C-k select-pane -U
|
||||||
bind -n C-j select-pane -D
|
bind-key -n C-j select-pane -D
|
||||||
bind -n C-h select-pane -L
|
bind-key -n C-h select-pane -L
|
||||||
bind -n C-l select-pane -R
|
bind-key -n C-l select-pane -R
|
||||||
|
|
||||||
# and now unbind keys
|
# and now unbind keys
|
||||||
unbind Up
|
unbind Up
|
||||||
|
|||||||
Reference in New Issue
Block a user