2025-03-16 15:30:13 +00:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
programs.zsh = {
|
|
|
|
|
enable = true;
|
|
|
|
|
ohMyZsh = {
|
|
|
|
|
enable = true;
|
|
|
|
|
plugins = [ "git" "man" "history-substring-search" ];
|
|
|
|
|
theme = "robbyrussell";
|
|
|
|
|
};
|
|
|
|
|
syntaxHighlighting.enable = true;
|
|
|
|
|
autosuggestions.enable = true;
|
|
|
|
|
};
|
2025-03-17 20:50:51 +00:00
|
|
|
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
|
|
|
|
|
'';
|
|
|
|
|
};
|
2025-03-16 15:30:13 +00:00
|
|
|
}
|