30 lines
618 B
Nix
30 lines
618 B
Nix
{pkgs, ...}: {
|
|
programs = {
|
|
tmux = {
|
|
enable = true;
|
|
mouse = true;
|
|
baseIndex = 1;
|
|
keyMode = "vi";
|
|
historyLimit = 5000;
|
|
prefix = "C-a";
|
|
|
|
terminal = "tmux-256color";
|
|
|
|
disableConfirmationPrompt = true;
|
|
plugins = with pkgs; [
|
|
tmuxPlugins.vim-tmux-navigator
|
|
tmuxPlugins.tilish
|
|
tmuxPlugins.resurrect
|
|
tmuxPlugins.gruvbox
|
|
tmuxPlugins.continuum
|
|
tmuxPlugins.prefix-highlight
|
|
];
|
|
|
|
extraConfig = ''
|
|
set -ag terminal-overrides ",xterm-ghostty:RGB"
|
|
bind C-l send-keys 'C-l'
|
|
'';
|
|
};
|
|
};
|
|
}
|