summaryrefslogtreecommitdiff
path: root/common/programs/tmux.nix
diff options
context:
space:
mode:
authorbee <beebeeb5k@gmail.com>2026-05-08 02:03:19 +0530
committerbee <beebeeb5k@gmail.com>2026-05-08 02:03:19 +0530
commit34d86d83e848020764f419458ca888532893eec3 (patch)
treee806e485c28edf658e02fea032cd6ed14b0078e8 /common/programs/tmux.nix
parent819cba6808c560628ec46176297a76219cebf9b4 (diff)
tmux wrapped terminal script
Diffstat (limited to 'common/programs/tmux.nix')
-rw-r--r--common/programs/tmux.nix11
1 files changed, 7 insertions, 4 deletions
diff --git a/common/programs/tmux.nix b/common/programs/tmux.nix
index 906fa82..9b59dba 100644
--- a/common/programs/tmux.nix
+++ b/common/programs/tmux.nix
@@ -1,18 +1,21 @@
{
programs.tmux = {
enable = true;
+ terminal = "tmux-256color";
+ keyMode = "vi";
+ prefix = "C-a";
+ escapeTime = 0;
+ shortcut = "a";
+ mouse = true;
+ baseIndex = 1;
extraConfig = ''
set -g status-position top
set -g status-justify absolute-centre
set -g status-right ""
set -g status-left "#S"
- set -g base-index 1
set -g renumber-windows on
- set -g mode-key vi
- set -sg escape-time 0
set-option -g status-style bg=default
set-option -g window-status-current-style "fg=blue bold"
- set -g prefix C-SPACE
'';
};
}