refactor: move max into dentritic pattern
This commit is contained in:
21
modules/common/features/development/tmux.nix
Normal file
21
modules/common/features/development/tmux.nix
Normal file
@@ -0,0 +1,21 @@
|
||||
{ ... }: {
|
||||
flake.homeModules.commonFeatureTmux = { pkgs, ... }: {
|
||||
programs.tmux = {
|
||||
enable = true;
|
||||
mouse = true;
|
||||
keyMode = "vi";
|
||||
shell = "${pkgs.zsh}/bin/zsh";
|
||||
extraConfig = ''
|
||||
set -g status-style bg=default
|
||||
|
||||
bind h select-pane -L
|
||||
bind j select-pane -D
|
||||
bind k select-pane -U
|
||||
bind l select-pane -R
|
||||
|
||||
set -g default-terminal "tmux-256color"
|
||||
set -ga terminal-overrides ",alacritty:Tc"
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user