summary refs log tree commit diff stats
path: root/user/settings/kitty.nix
blob: 8a06a820894b7f5c6827b76157924436cfe1176f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ pkgs
, ...
}:
{
  programs.kitty = {
    enable = true;
    font = {
      package = pkgs.recursive;
      name = "Rec Mono SemiCasual";
      size = 15;
    };
    shellIntegration = {
      mode = "no-cursor";
    };
    keybindings = {
      "ctrl+shift+t" = "new_tab_with_cwd !neighbor";
      "cmd+t" = "new_tab_with_cwd !neighbor";
    };
    settings = {
      macos_option_as_alt = "left";
      cursor_blink_interval = 0;
    };
    extraConfig = ''
      include ~/.config/kitty/theme.conf
    '';
  };
}