Fix clipboard copy, add mouse mode
This commit is contained in:
parent
9a08f0346d
commit
a1920792f6
@ -13,14 +13,17 @@ run '~/.tmux/plugins/tpm/tpm'
|
|||||||
|
|
||||||
# set terminal colors to 24-bit
|
# set terminal colors to 24-bit
|
||||||
set-option -sa terminal-overrides ",xterm*:Tc"
|
set-option -sa terminal-overrides ",xterm*:Tc"
|
||||||
|
# use zsh
|
||||||
set-option -g default-shell /bin/zsh
|
set-option -g default-shell /bin/zsh
|
||||||
|
# enable mouse mode
|
||||||
|
set -g mouse on
|
||||||
|
# vi keys for navigation
|
||||||
set-window-option -g mode-keys vi
|
set-window-option -g mode-keys vi
|
||||||
|
|
||||||
# copy mode and clipboard
|
# copy mode and clipboard
|
||||||
bind-key -T copy-mode-vi v send-keys -X begin-selection
|
bind-key -T copy-mode-vi v send-keys -X begin-selection
|
||||||
bind-key -T copy-mode-vi C-v send-keys -X rectangle-toggle
|
bind-key -T copy-mode-vi C-v send-keys -X rectangle-toggle
|
||||||
bind-key -T copy-mode-vi y send-keys -X copy-selection-and-cancel
|
bind-key -T copy-mode-vi y send-keys -X copy-pipe-and-cancel
|
||||||
bind-key v copy-mode
|
bind-key v copy-mode
|
||||||
set -g set-clipboard on
|
set -g set-clipboard on
|
||||||
set -as terminal-feature ',*:clipboard'
|
set -as terminal-feature ',*:clipboard'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user