{pkgs, ...}: { programs.tmux = { enable = true; prefix = "C-Space"; baseIndex = 1; newSession = true; mouse = true; clock24 = true; escapeTime = 0; shell = "${pkgs.zsh} /bin/zsh"; plugins = with pkgs; [ tmuxPlugins.yank tmuxPlugins.sensible tmuxPlugins.catppuccin ]; extraConfig = '' # set true color set-option -sa terminal-overrides ",xterm*:Tc" # open panes in current directory bind '"' split-window -v -c "#{pane_current_path}" bind % split-window -h -c "#{pane_current_path}" # easy reloads bind M-r source-file ~/.config/tmux/tmux.conf ''; }; }