mirror of
1
0
Fork 0

Enabled vi-mode and mouse mode to share clipboard

- Selecting with the mouse copies the text to the OS clipboard
- Selecting with vi-mode copies the text to the OS clipboard
This commit is contained in:
Ralph Azucena 2018-05-03 04:40:23 +01:00 committed by GitHub
parent a44d91b470
commit 88ccd80de8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -248,6 +248,8 @@ unbind C-a
set -g prefix2 C-space
bind C-space send-prefix -2
set -g history-limit 8000 # boost history
run -b 'tmux bind -t vi-copy y copy-pipe "xclip -in -selection clipboard"'
run -b 'tmux bind -t vi-copy MouseDragEnd1Pane copy-pipe "xclip -in -selection clipboard"'
### -- navigation ----------------------------------------------------------------