Mercurial > hg > cc > cirrus_home
annotate .tmux.conf @ 195:5f3c36e4fd6d default tip
add target test-core which (dangerously) avoids (we hope pointless) recompilation of all the plugins
author | Henry S. Thompson <ht@inf.ed.ac.uk> |
---|---|
date | Thu, 26 Sep 2024 17:55:56 +0100 |
parents | acae526510e2 |
children |
rev | line source |
---|---|
171 | 1 |
179
9d71a9f55ea0
tweak UI: copy/paste and title bar
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
171
diff
changeset
|
2 # scroll-bar? see https://superuser.com/questions/310251/use-terminal-scrollbar-with-tmux |
127 | 3 set -ga terminal-overrides ',xterm*:smcup@:rmcup@' |
4 | |
5 # mousewheel scrolling | |
6 set -g mouse on | |
171 | 7 |
8 # edit mode | |
9 setw -g mode-keys emacs | |
10 | |
11 # cut-paste outside tmux. see https://linuxhint.com/copy-paste-clipboard-tmux/ | |
185
acae526510e2
too many overdue updates to break down
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
179
diff
changeset
|
12 bind C-c run "tmux save-buffer /tmp/hst/clipped ; csing /usr/bin/xsel -b -i < /tmp/hst/clipped" |
179
9d71a9f55ea0
tweak UI: copy/paste and title bar
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
171
diff
changeset
|
13 bind C-v run 'tmux set-buffer "$(/usr/bin/xclip -o -sel clipboard)"; tmux paste-buffer' |
171 | 14 |
15 # https://superuser.com/questions/1098077/how-to-keep-terminal-window-title-in-sync-with-tmux-window | |
16 set-option -g set-titles on | |
179
9d71a9f55ea0
tweak UI: copy/paste and title bar
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
171
diff
changeset
|
17 set-option -g set-titles-string "#S #T" |