feat(shell.nix): move tmux configuration to nix
This commit is contained in:
@@ -11,4 +11,21 @@
|
|||||||
syntaxHighlighting.enable = true;
|
syntaxHighlighting.enable = true;
|
||||||
autosuggestions.enable = true;
|
autosuggestions.enable = true;
|
||||||
};
|
};
|
||||||
|
programs.tmux = {
|
||||||
|
enable = true;
|
||||||
|
reverseSplit = true;
|
||||||
|
terminal = "tmux-direct";
|
||||||
|
newSession = true;
|
||||||
|
keyMode = "vi";
|
||||||
|
historyLimit = 50000;
|
||||||
|
extraConfig = ''
|
||||||
|
# Enable mouse support
|
||||||
|
set -g mouse on
|
||||||
|
# Set pane navigation
|
||||||
|
bind -n M-Left select-pane -L
|
||||||
|
bind -n M-Right select-pane -R
|
||||||
|
bind -n M-Up select-pane -U
|
||||||
|
bind -n M-Down select-pane -D
|
||||||
|
'';
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user