From 94433d422595985d49d8d97791caba88ad6887e3 Mon Sep 17 00:00:00 2001 From: "Alexandre Cavalheiro S. Tiago da Silva" Date: Mon, 7 Oct 2024 03:22:52 -0300 Subject: [PATCH] fix(tmux): correct colors and enable vi mode --- modules/home-manager/programs/tmux/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/modules/home-manager/programs/tmux/default.nix b/modules/home-manager/programs/tmux/default.nix index 2ed07ac..0e67e98 100644 --- a/modules/home-manager/programs/tmux/default.nix +++ b/modules/home-manager/programs/tmux/default.nix @@ -4,10 +4,19 @@ programs.tmux = { enable = true; clock24 = true; + keyMode = "vi"; + terminal = "screen-256color"; + + extraConfig = '' + # Fix colors + set -sg terminal-overrides ",*:RGB" + ''; + plugins = with pkgs.tmuxPlugins; [ { plugin = catppuccin; extraConfig = '' + # Set theme set -g @catppuccin_flavour 'frappe' ''; }