aboutsummaryrefslogtreecommitdiff
path: root/home/programs/tmux.nix
blob: 9b84f5c73d319a9ef761c00cd3312e410377729a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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
    '';
  };
}