1
0
Fork 0
mirror of synced 2024-06-01 14:41:09 -04:00

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

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 ----------------------------------------------------------------