diff .tmux.conf @ 185:acae526510e2

too many overdue updates to break down
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Wed, 06 Dec 2023 13:38:58 +0000
parents 9d71a9f55ea0
children
line wrap: on
line diff
--- a/.tmux.conf	Fri Sep 08 21:44:48 2023 +0100
+++ b/.tmux.conf	Wed Dec 06 13:38:58 2023 +0000
@@ -9,7 +9,7 @@
 setw -g mode-keys emacs
 
 # cut-paste outside tmux.  see https://linuxhint.com/copy-paste-clipboard-tmux/
-bind C-c run "tmux save-buffer - | /usr/bin/xclip -i -sel clipboard || :"
+bind C-c run "tmux save-buffer /tmp/hst/clipped ; csing /usr/bin/xsel -b -i < /tmp/hst/clipped"
 bind C-v run 'tmux set-buffer "$(/usr/bin/xclip -o -sel clipboard)"; tmux paste-buffer'
 
 # https://superuser.com/questions/1098077/how-to-keep-terminal-window-title-in-sync-with-tmux-window