about summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--nix/profiles/home-manager/shell.nix21
1 files changed, 21 insertions, 0 deletions
diff --git a/nix/profiles/home-manager/shell.nix b/nix/profiles/home-manager/shell.nix
index f06f257..1e5d4b9 100644
--- a/nix/profiles/home-manager/shell.nix
+++ b/nix/profiles/home-manager/shell.nix
@@ -33,6 +33,27 @@
     self.packages.${pkgs.system}.git-broom
   ];
 
+  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
+    '';
+  };
+
   xdg = {
     configFile = {
       "aspell/config".text = ''