22 lines
462 B
Nix
22 lines
462 B
Nix
|
{ }:
|
||
|
|
||
|
{
|
||
|
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";
|
||
|
|
||
|
resizeAmount = 5;
|
||
|
aggressiveResize = true;
|
||
|
|
||
|
# Use tmux with 256 colors.
|
||
|
# Also see https://github.com/neovim/neovim/wiki/FAQ#colors-arent-displayed-correctly
|
||
|
terminal = "tmux-256color";
|
||
|
|
||
|
sensibleOnTop = false;
|
||
|
|
||
|
extraConfig = builtins.readFile ../files/tmux;
|
||
|
}
|