update tmux
This commit is contained in:
@@ -9,8 +9,9 @@ setw -g mode-keys vi
|
|||||||
# VI-style copy & paste
|
# VI-style copy & paste
|
||||||
unbind [
|
unbind [
|
||||||
bind Escape copy-mode
|
bind Escape copy-mode
|
||||||
#bind-key -t vi-copy 'v' begin-selection
|
bind -T copy-mode-vi v send-keys -X begin-selection
|
||||||
#bind-key -t vi-copy 'y' copy-selection
|
bind -T copy-mode-vi y send-keys -X copy-selection-and-cancel
|
||||||
|
bind -T copy-mode-vi C-v send-keys -X rectangle-toggle
|
||||||
|
|
||||||
# remove SSH_AUTH_SOCK from update-environment, otherwise setting it specifically doesn't work
|
# remove SSH_AUTH_SOCK from update-environment, otherwise setting it specifically doesn't work
|
||||||
set-option -g update-environment "PATH DISPLAY LANG LC_ALL SSH_ASKPASS SSH_AGENT_PID SSH_CONNECTION WINDOWID XAUTHORITY"
|
set-option -g update-environment "PATH DISPLAY LANG LC_ALL SSH_ASKPASS SSH_AGENT_PID SSH_CONNECTION WINDOWID XAUTHORITY"
|
||||||
@@ -19,5 +20,10 @@ set-environment -g SSH_AUTH_SOCK $HOME/.ssh/ssh_auth_sock
|
|||||||
|
|
||||||
set -g escape-time 10
|
set -g escape-time 10
|
||||||
|
|
||||||
# maybe?
|
set -g default-terminal "tmux-256color"
|
||||||
|
set -ga terminal-overrides ",xterm-256color:Tc"
|
||||||
|
|
||||||
set-option -g set-clipboard external
|
set-option -g set-clipboard external
|
||||||
|
|
||||||
|
# Status bar styling (dark gray background, white text)
|
||||||
|
# set -g status-style bg=colour236,fg=white
|
||||||
|
|||||||
Reference in New Issue
Block a user