aboutsummaryrefslogtreecommitdiff
path: root/users/programs
diff options
context:
space:
mode:
Diffstat (limited to 'users/programs')
-rw-r--r--users/programs/tmux.nix21
1 files changed, 21 insertions, 0 deletions
diff --git a/users/programs/tmux.nix b/users/programs/tmux.nix
new file mode 100644
index 0000000..9b84f5c
--- /dev/null
+++ b/users/programs/tmux.nix
@@ -0,0 +1,21 @@
+{ pkgs, ... }:
+{
+ programs.tmux = {
+ enable = true;
+ terminal = "xterm-256color";
+ escapeTime = 0;
+ aggressiveResize = true;
+ baseIndex = 1;
+ shortcut = "z";
+ clock24 = true;
+ shell = "${pkgs.fish}/bin/fish";
+ historyLimit = 50000; # Bigger buffer
+ extraConfig = ''
+ setw -g mouse on
+ # Avoid date/time taking up space
+ set -g status-right ""
+ set -g status-right-length 0
+ set-option -g renumber-windows on
+ '';
+ };
+}