diff --git a/home/tmux.nix b/home/tmux.nix new file mode 100644 index 00000000..3f7b9d22 --- /dev/null +++ b/home/tmux.nix @@ -0,0 +1,24 @@ +{ + programs.tmux = { + enable = true; + mouse = true; + + keyMode = "vi"; + + extraConfig = /* fish */ '' + set -sg escape-time 0 + + set -g renumber-windows on + set -g status-right "" + set -g status-left "" + set -g status-justify centre + set -g status-bg black + set -g status-fg white + set -g default-terminal "tmux-256color" + + bind -n S-Left previous-window + bind -n S-Right next-window + bind -n S-Up set status + ''; + }; +} diff --git a/modules/shell.nix b/modules/shell.nix index 0ec0dc99..15eba4a9 100644 --- a/modules/shell.nix +++ b/modules/shell.nix @@ -71,7 +71,6 @@ in inherit (pkgs) gdu hexyl - zellij diskonaut pgcli litecli