2024-05-29 09:50:32 +02:00
|
|
|
{
|
|
|
|
pkgs
|
|
|
|
}:
|
2022-02-03 09:10:22 +01:00
|
|
|
|
|
|
|
{
|
|
|
|
enable = true;
|
|
|
|
|
|
|
|
# Accordingly to neovim https://github.com/neovim/neovim/wiki/FAQ#esc-in-tmux-or-gnu-screen-is-delayed
|
|
|
|
escapeTime = 10;
|
|
|
|
keyMode = "vi";
|
|
|
|
shortcut = "t";
|
2022-02-03 12:37:53 +01:00
|
|
|
customPaneNavigationAndResize = true;
|
2022-02-03 09:10:22 +01:00
|
|
|
|
|
|
|
resizeAmount = 5;
|
|
|
|
aggressiveResize = true;
|
|
|
|
|
|
|
|
# Use tmux with 256 colors.
|
|
|
|
# Also see https://github.com/neovim/neovim/wiki/FAQ#colors-arent-displayed-correctly
|
2022-03-09 10:50:34 +01:00
|
|
|
# Use screen instead of tmux as some tools might not be aware of tmux
|
|
|
|
terminal = "screen-256color";
|
2022-02-03 09:10:22 +01:00
|
|
|
|
2023-11-16 16:07:30 +01:00
|
|
|
shell = "/home/daniels/.nix-profile/bin/zsh";
|
2022-02-08 17:46:08 +01:00
|
|
|
|
2022-02-03 09:10:22 +01:00
|
|
|
sensibleOnTop = false;
|
|
|
|
|
|
|
|
extraConfig = builtins.readFile ../files/tmux;
|
|
|
|
}
|