From 8b0f7472de10e4109ed45dc85278238e72e65674 Mon Sep 17 00:00:00 2001 From: Mohammad Rafiq Date: Mon, 3 Mar 2025 13:41:08 +0800 Subject: [PATCH] feat(tmux): add tmux plugins --- users/modules/tmux.nix | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/users/modules/tmux.nix b/users/modules/tmux.nix index e37c8ba..9bf1a57 100644 --- a/users/modules/tmux.nix +++ b/users/modules/tmux.nix @@ -1,6 +1,23 @@ -{ +{pkgs, ...}: { programs.tmux = { enable = true; + plugins = with pkgs.tmuxPlugins; [ + catppuccin + tmux-which-key + tmux-powerline + { + plugin = resurrect; + extraConfig = '' + set -g @resurrect-strategy-nvim 'session' + ''; + } + { + plugin = continuum; + extraConfig = '' + set -g @continuum-restore 'on' + ''; + } + ]; extraConfig = '' set -g default-terminal "tmux-256color" set -ag terminal-overrides ",xterm-256color:RGB"