diff options
author | Matthew Lemon <y@yulqen.org> | 2023-05-03 21:52:01 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2023-05-03 21:52:01 +0100 |
commit | e2bd9bad0287ac70f398cf7418920c9851e0496a (patch) | |
tree | b4ce20cc93d027ee1883bf5ad56578514a1349b5 | |
parent | 7f2d42218e5f736730226e6515a01efcb706b6cd (diff) |
Adds a new tmux shortcut to allow easy pasting from system clipboard
Diffstat (limited to '')
-rw-r--r-- | tmux.conf | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -8,6 +8,9 @@ set-option -g focus-events on # set shell #set -g default-shell '/bin/ksh' +# paste with Ctrl Y +bind-key -n C-y run "tmux set-buffer \"$(xclip -o -sel clipboard)\"; tmux paste-buffer" + # command sequence for nested tmux sessions bind-key a send-prefix |