fix(tmux): correct colors and enable vi mode

This commit is contained in:
Alexandre Cavalheiro 2024-10-07 03:22:52 -03:00
parent 607d811587
commit 94433d4225
Signed by: wizardlink
GPG key ID: A5767B54367CFBDF

View file

@ -4,10 +4,19 @@
programs.tmux = { programs.tmux = {
enable = true; enable = true;
clock24 = true; clock24 = true;
keyMode = "vi";
terminal = "screen-256color";
extraConfig = ''
# Fix colors
set -sg terminal-overrides ",*:RGB"
'';
plugins = with pkgs.tmuxPlugins; [ plugins = with pkgs.tmuxPlugins; [
{ {
plugin = catppuccin; plugin = catppuccin;
extraConfig = '' extraConfig = ''
# Set theme
set -g @catppuccin_flavour 'frappe' set -g @catppuccin_flavour 'frappe'
''; '';
} }