mirror of
https://github.com/srid/nixos-config.git
synced 2026-02-03 19:48:24 +08:00
20 lines
511 B
Nix
20 lines
511 B
Nix
{
|
|
enable = true;
|
|
shortcut = "a";
|
|
aggressiveResize = true;
|
|
baseIndex = 1;
|
|
newSession = true;
|
|
# Stop tmux+escape craziness.
|
|
escapeTime = 0;
|
|
# Force tmux to use /tmp for sockets (WSL2 compat)
|
|
secureSocket = false;
|
|
|
|
extraConfig = ''
|
|
# Mouse works as expected
|
|
set-option -g mouse on
|
|
# easy-to-remember split pane commands
|
|
bind | split-window -h -c "#{pane_current_path}"
|
|
bind - split-window -v -c "#{pane_current_path}"
|
|
bind c new-window -c "#{pane_current_path}"
|
|
'';
|
|
}
|