summary refs log tree commit diff stats
path: root/user/settings/kitty.nix
blob: c1de50d8d17ea0242b46094eac62b09e29fe44b2 (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
{ 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";
    };
    extraConfig = ''
      include ~/.config/kitty/theme.conf
    '';
  };
}