Daniel Siepmann
2554732f57
I don't know why this was causing issues. But some tmux plugins were not compatible with the zsh? That change fixed it …
26 lines
630 B
Nix
26 lines
630 B
Nix
{ pkgs }:
|
|
|
|
{
|
|
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";
|
|
customPaneNavigationAndResize = true;
|
|
|
|
resizeAmount = 5;
|
|
aggressiveResize = true;
|
|
|
|
# Use tmux with 256 colors.
|
|
# Also see https://github.com/neovim/neovim/wiki/FAQ#colors-arent-displayed-correctly
|
|
# Use screen instead of tmux as some tools might not be aware of tmux
|
|
terminal = "screen-256color";
|
|
|
|
shell = "/home/daniels/.nix-profile/bin/zsh";
|
|
|
|
sensibleOnTop = false;
|
|
|
|
extraConfig = builtins.readFile ../files/tmux;
|
|
}
|