Mercurial > hg > cc > cirrus_home
changeset 179:9d71a9f55ea0
tweak UI: copy/paste and title bar
author | Henry S. Thompson <ht@inf.ed.ac.uk> |
---|---|
date | Wed, 05 Jul 2023 15:07:51 +0100 |
parents | e1bc9d8d688c |
children | 4cb5cc893003 |
files | .tmux.conf |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- 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"