home: add tmux
This commit is contained in:
parent
81e2473d48
commit
8db4342b8f
|
@ -13,6 +13,7 @@
|
|||
./mpv.nix
|
||||
./terminals.nix
|
||||
./ssh
|
||||
./tmux.nix
|
||||
./gpg.nix
|
||||
./dirs.nix
|
||||
];
|
||||
|
|
|
@ -89,5 +89,8 @@ in {
|
|||
touch_scroll_multiplier = 4;
|
||||
} // (numberedColors "color" "#" 0 colors.normal)
|
||||
// (numberedColors "color" "#" 8 colors.bright);
|
||||
extraConfig = ''
|
||||
symbol_map U+e000-U+f8ff Symbols Nerd Font Mono
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
19
home/tmux.nix
Normal file
19
home/tmux.nix
Normal file
|
@ -0,0 +1,19 @@
|
|||
{ pkgs, ... }: {
|
||||
programs.tmux = {
|
||||
enable = true;
|
||||
terminal = "screen-256color";
|
||||
historyLimit = 65536;
|
||||
clock24 = true;
|
||||
plugins = with pkgs.tmuxPlugins; [{
|
||||
plugin = catppuccin;
|
||||
extraConfig = ''
|
||||
set -g @catppuccin_flavour 'mocha'
|
||||
'';
|
||||
}];
|
||||
extraConfig = ''
|
||||
bind '"' split-window -c "#{pane_current_path}"
|
||||
bind % split-window -h -c "#{pane_current_path}"
|
||||
bind c new-window -c "#{pane_current_path}"
|
||||
'';
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue