mirror of
https://github.com/srid/nixos-config.git
synced 2026-01-11 09:17:54 +08:00
tmux color thingy
This commit is contained in:
parent
bda157747c
commit
9226aa69f9
1 changed files with 6 additions and 1 deletions
|
|
@ -16,7 +16,12 @@
|
|||
];
|
||||
|
||||
extraConfig = ''
|
||||
set -g default-terminal "tmux-256color"
|
||||
# https://old.reddit.com/r/tmux/comments/mesrci/tmux_2_doesnt_seem_to_use_256_colors/
|
||||
set -g default-terminal "xterm-256color"
|
||||
set -ga terminal-overrides ",*256col*:Tc"
|
||||
set -ga terminal-overrides '*:Ss=\E[%p1%d q:Se=\E[ q'
|
||||
set-environment -g COLORTERM "truecolor"
|
||||
|
||||
# Mouse works as expected
|
||||
set-option -g mouse on
|
||||
# easy-to-remember split pane commands
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue