nixos-config/home-manager/modules/tmux.nix

22 lines
454 B
Nix
Raw Normal View History

2023-08-15 12:43:46 +00:00
{ pkgs, ... }: {
programs.tmux = {
enable = true;
keyMode = "vi";
escapeTime = 0;
plugins = [
pkgs.tmuxPlugins.gruvbox
];
shell = "/home/felix/.nix-profile/bin/zsh";
terminal = "xterm-256color";
extraConfig = ''
2024-02-01 13:18:28 +00:00
# switch panes using Alt-hjkl without prefix
bind -n M-h select-pane -L
bind -n M-l select-pane -R
bind -n M-k select-pane -U
bind -n M-j select-pane -D
2023-08-15 12:43:46 +00:00
'';
};
}