Daniel Siepmann
b758d564ed
I don't understand the issue, I thought tmux would inspect env $SHELL. Looks like it doesn't and use sh instead. So we configure to use zsh instead.
25 lines
541 B
Nix
25 lines
541 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
|
|
terminal = "tmux-256color";
|
|
|
|
shell = "${pkgs.zsh}/bin/zsh";
|
|
|
|
sensibleOnTop = false;
|
|
|
|
extraConfig = builtins.readFile ../files/tmux;
|
|
}
|