nixpkgs/home/programs/tmux.nix

26 lines
630 B
Nix
Raw Permalink Normal View History

{ 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";
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
# 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
shell = "/home/daniels/.nix-profile/bin/zsh";
2022-02-03 09:10:22 +01:00
sensibleOnTop = false;
extraConfig = builtins.readFile ../files/tmux;
}