view .tmux.conf @ 177:354dae8aeb80

moved to work tree
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Wed, 05 Jul 2023 14:52:00 +0100
parents c7d57d158331
children 9d71a9f55ea0
line wrap: on
line source


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"