🎨 copy tmux to xsel (system) clipboard
This commit is contained in:
parent
03bed404bd
commit
11e06afe34
1 changed files with 2 additions and 1 deletions
|
|
@ -9,13 +9,14 @@ set-option -g default-terminal "screen-256color"
|
||||||
set-option -sa terminal-overrides ',xterm-256color:RGB'
|
set-option -sa terminal-overrides ',xterm-256color:RGB'
|
||||||
|
|
||||||
# enable mouse support for switching panes/windows
|
# enable mouse support for switching panes/windows
|
||||||
set -g mouse on
|
# set -g mouse on
|
||||||
|
|
||||||
# extend history
|
# extend history
|
||||||
set -g history-limit 100000
|
set -g history-limit 100000
|
||||||
|
|
||||||
# set vi keybindings
|
# set vi keybindings
|
||||||
setw -g mode-keys vi
|
setw -g mode-keys vi
|
||||||
|
bind -T copy-mode-vi Enter send-keys -X copy-pipe-and-cancel "xsel -i --clipboard"
|
||||||
|
|
||||||
# reduce escape time
|
# reduce escape time
|
||||||
set-option -sg escape-time 20
|
set-option -sg escape-time 20
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue