Tmux : Use selection color for selection.
This commit is contained in:
parent
efc2ff18b0
commit
e79bc71713
|
@ -1,9 +1,8 @@
|
|||
{ key, style, ... }: let
|
||||
mod = key.tmux.mod;
|
||||
|
||||
accent = style.color.accent;
|
||||
bg = style.color.bg.dark;
|
||||
fg = style.color.fg.light;
|
||||
fg = style.color.bg.dark;
|
||||
selection = style.color.selection;
|
||||
in {
|
||||
text = ''
|
||||
setw -g mode-keys vi
|
||||
|
@ -12,6 +11,6 @@ in {
|
|||
bind -T copy-mode-vi ${key.tmux.copy.select} send -X begin-selection
|
||||
bind -T copy-mode-vi ${key.tmux.copy.copy} send-keys -X copy-pipe-and-cancel "pbcopy"
|
||||
|
||||
set -g mode-style "fg=#${bg} bg=#${accent} bold"
|
||||
set -g mode-style "fg=#${fg} bg=#${selection} bold"
|
||||
'';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue