nix-config/modules/ghostty/default.nix

34 lines
1,013 B
Nix

{
# TODO: Add custom theme: https://nix-community.github.io/home-manager/options.xhtml#opt-programs.ghostty.themes
programs.ghostty = {
enable = true;
enableFishIntegration = true;
installBatSyntax = true;
installVimSyntax = true;
systemd.enable = true;
clearDefaultKeybinds = false; # set to true after config is finished
settings = {
theme = "Catppuccin Mocha";
font-size = 16;
font-family = "VictorMono Nerd Font";
keybind = [
"ctrl+b>v=new_split:left"
"ctrl+b>s=new_split:down"
"ctrl+b>h=goto_split:left"
"ctrl+b>j=goto_split:down"
"ctrl+b>k=goto_split:up"
"ctrl+b>l=goto_split:right"
"ctrl+b>c=new_tab"
"ctrl+b>1=goto_tab:1"
"ctrl+b>2=goto_tab:2"
"ctrl+b>3=goto_tab:3"
"ctrl+b>4=goto_tab:4"
"ctrl+b>5=goto_tab:5"
"ctrl+b>6=goto_tab:6"
"ctrl+b>7=goto_tab:7"
"ctrl+b>8=goto_tab:8"
"ctrl+b>9=goto_tab:9"
];
};
};
}