# HG changeset patch # User Henry S. Thompson # Date 1688566071 -3600 # Node ID 9d71a9f55ea0450a4e4d3d555654dd3ca3d1a3fa # Parent e1bc9d8d688cfd76e65a3deb4241507353d1c6a3 tweak UI: copy/paste and title bar diff -r e1bc9d8d688c -r 9d71a9f55ea0 .tmux.conf --- a/.tmux.conf Wed Jul 05 15:02:53 2023 +0100 +++ b/.tmux.conf Wed Jul 05 15:07:51 2023 +0100 @@ -1,5 +1,5 @@ -A# scroll-bar? see https://superuser.com/questions/310251/use-terminal-scrollbar-with-tmux +# scroll-bar? see https://superuser.com/questions/310251/use-terminal-scrollbar-with-tmux set -ga terminal-overrides ',xterm*:smcup@:rmcup@' # mousewheel scrolling @@ -9,9 +9,9 @@ setw -g mode-keys emacs # cut-paste outside tmux. see https://linuxhint.com/copy-paste-clipboard-tmux/ -bind C-c run "tmux save-buffer - | xclip -i -sel clipboard" -bind C-v run 'tmux set-buffer "$(xclip -o -sel clipboard)"; tmux paste-buffer' +bind C-c run "tmux save-buffer - | /usr/bin/xclip -i -sel clipboard || :" +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 set-option -g set-titles on -set-option -g set-titles-string "#S #T" \ No newline at end of file +set-option -g set-titles-string "#S #T"