naitokosuke · dotfiles

Ctrl+Space and Ctrl+Option+Space switch the input source by default and collide with editor and shell keybinds, so both hotkeys are disabled.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19# Ctrl+Space and Ctrl+Option+Space switch the input source by default and
# collide with editor and shell keybinds, so both hotkeys are disabled.
{
  system.defaults.CustomUserPreferences = {
    "com.apple.symbolichotkeys" = {
      AppleSymbolicHotKeys = {
        # "Select the previous input source" (Ctrl+Space)
        "60" = {
          enabled = false;
        };
        # "Select the next source in the Input Menu" (Ctrl+Option+Space)
        "61" = {
          enabled = false;
        };
      };
    };
  };
}
19 lines·523 chars·NIX