Mercurial > hg > cc > cirrus_home
diff .tmux.conf @ 171:c7d57d158331
x
author | Henry S. Thompson <ht@inf.ed.ac.uk> |
---|---|
date | Thu, 28 Jul 2022 15:33:21 +0100 |
parents | 3bc1d24363a1 |
children | 9d71a9f55ea0 |
line wrap: on
line diff
--- a/.tmux.conf Wed Jul 20 19:48:11 2022 +0100 +++ b/.tmux.conf Thu Jul 28 15:33:21 2022 +0100 @@ -1,5 +1,17 @@ -# scroll-bar? see https://superuser.com/questions/310251/use-terminal-scrollbar-with-tmux + +A# scroll-bar? see https://superuser.com/questions/310251/use-terminal-scrollbar-with-tmux set -ga terminal-overrides ',xterm*:smcup@:rmcup@' # mousewheel scrolling set -g mouse on + +# edit mode +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' + +# 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