update: tmux.conf copy-mode v, y & esc-time

This commit is contained in:
qwjyh 2022-10-05 19:28:58 +09:00
parent f59c530d18
commit 07c2ff8540

View file

@ -5,6 +5,8 @@ setw -g mode-keys vi
bind-key -T prefix v split-window bind-key -T prefix v split-window
bind-key -T prefix h split-window -h bind-key -T prefix h split-window -h
bind-key -T copy-mode-vi v send-keys -X begin-selection
bind-key -T copy-mode-vi y send-keys -X copy-selection
set-option -g default-command fish set-option -g default-command fish
@ -21,3 +23,5 @@ setw -g pane-base-index 1
set-option -g status-right "#[bg=colour156] #T | %y/%m/%d %H:%M:%S" set-option -g status-right "#[bg=colour156] #T | %y/%m/%d %H:%M:%S"
#set-window-option -g window-status-format "#[bg=green]#I:#W-" # default #set-window-option -g window-status-format "#[bg=green]#I:#W-" # default
set-window-option -g window-status-current-format "#[bg=colour156]#I:#W*" set-window-option -g window-status-current-format "#[bg=colour156]#I:#W*"
set -s escape-time 100