mirror of
https://github.com/Matir/skel.git
synced 2026-05-26 05:29:09 -07:00
Add tmux copy/pasta.
This commit is contained in:
@@ -57,3 +57,7 @@ bind M \
|
|||||||
set -g mouse-select-pane off \;\
|
set -g mouse-select-pane off \;\
|
||||||
set -g mouse-select-window off \;\
|
set -g mouse-select-window off \;\
|
||||||
display 'Mouse: OFF'
|
display 'Mouse: OFF'
|
||||||
|
|
||||||
|
# tmux X clipboard integration
|
||||||
|
bind C-c run "tmux show-buffer | xsel -i -b"
|
||||||
|
bind C-v run "tmux set-buffer -- \"$(xsel -o -b)\"; tmux paste-buffer"
|
||||||
|
|||||||
Reference in New Issue
Block a user