summaryrefslogtreecommitdiff
path: root/common/programs
diff options
context:
space:
mode:
Diffstat (limited to 'common/programs')
-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
'';
};
}