nixpkgs/home/programs/tmux.nix
Daniel Siepmann 42081fc2a9
Use binaries from $PATH
Do not link against raw pkgs version.
They might be adjusted.
Use the ones from PATH.
2022-08-15 08:41:53 +02:00

26 lines
599 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 = "zsh";
sensibleOnTop = false;
extraConfig = builtins.readFile ../files/tmux;
}