tmux: continue tweaking

This commit is contained in:
Paul Walker
2025-04-28 12:57:11 +01:00
parent 143f105a08
commit 14f5a0a0c2
2 changed files with 19 additions and 11 deletions

View File

@@ -55,19 +55,27 @@ set -w -g mode-keys vi
bind -T copy-mode-vi v send -X begin-selection
bind -T copy-mode-vi y send -X copy-selection
# I'm not a keyboard fanatic; enable the mouse.
set -g mouse on
# I'm not a keyboard fanatic; however, if the mouse is enabled it stops "click to highlight" (for example, in PuTTY/MobaXterm etc)
set -g mouse off
# Enable the pretty colours...
# If there are problems with outdated ncurses's's's, we can use "screen-256color" instead.
set -g default-terminal "tmux-256color"
# set -g default-terminal "tmux-256color"
# Try and make clipboard work?
# Allow things inside tmux to set system clipboard. That's what I expect anyway so let's try it.
# set -gs set-clipboard on
# set -as terminal-features ',rxvt-unicode-256color:clipboard'
# set -as terminal-features ',tmux-256color:clipboard'
# set -as terminal-features ',xterm-256color:clipboard'
# Override terminal for 32-bit RGB colour. (Disabled for now, need to test with MobaXterm.)
# set -a terminal-overrides ",*256col*:RGB"
# Make it obvious which pane we're in.
set -w -g pane-active-border-style fg=black,bg=color140
set -g pane-border-indicators arrows
# set -w -g pane-active-border-style fg=black,bg=color140
# set -g pane-border-indicators arrows
# Give the panes their own status indicator.
set -g pane-border-status top