<commit_before><?xml version="1.0"?>
<root>
  <item>
    <name>Enable at only Excel</name>
    <item>
      <name>Emacs bindings for Excel</name>
      <identifier>remap.app_excel_emacs_bindings</identifier>
      <only>EXCEL</only>
      <autogen>__KeyToKey__ KeyCode::F, MODIFIERFLAG_EITHER_LEFT_OR_RIGHT_CONTROL, KeyCode::CURSOR_RIGHT</autogen>
      <autogen>__KeyToKey__ KeyCode::B, MODIFIERFLAG_EITHER_LEFT_OR_RIGHT_CONTROL, KeyCode::CURSOR_LEFT</autogen>
      <autogen>__KeyToKey__ KeyCode::N, MODIFIERFLAG_EITHER_LEFT_OR_RIGHT_CONTROL, KeyCode::CURSOR_DOWN</autogen>
      <autogen>__KeyToKey__ KeyCode::P, MODIFIERFLAG_EITHER_LEFT_OR_RIGHT_CONTROL, KeyCode::CURSOR_UP</autogen>
      <autogen>__KeyToKey__ KeyCode::A, MODIFIERFLAG_EITHER_LEFT_OR_RIGHT_CONTROL, KeyCode::HOME</autogen>
      <autogen>__KeyToKey__ KeyCode::E, MODIFIERFLAG_EITHER_LEFT_OR_RIGHT_CONTROL, KeyCode::END</autogen>
      <autogen>__KeyToKey__ KeyCode::D, MODIFIERFLAG_EITHER_LEFT_OR_RIGHT_CONTROL, KeyCode::FORWARD_DELETE</autogen>
      <autogen>__KeyToKey__ KeyCode::H, MODIFIERFLAG_EITHER_LEFT_OR_RIGHT_CONTROL, KeyCode::DELETE</autogen>
      <autogen>__KeyToKey__ KeyCode::K, MODIFIERFLAG_EITHER_LEFT_OR_RIGHT_CONTROL, KeyCode::CURSOR_RIGHT, ModifierFlag::CONTROL_L | ModifierFlag::SHIFT_L, KeyCode::FORWARD_DELETE</autogen>
      <autogen>__KeyToKey__ KeyCode::J, MODIFIERFLAG_EITHER_LEFT_OR_RIGHT_CONTROL, KeyCode::RETURN, ModifierFlag::COMMAND_L | ModifierFlag::OPTION_L</autogen>
      <autogen>__KeyToKey__ KeyCode::M, MODIFIERFLAG_EITHER_LEFT_OR_RIGHT_CONTROL, KeyCode::RETURN</autogen>
      <autogen>__KeyToKey__ KeyCode::RETURN, MODIFIERFLAG_EITHER_LEFT_OR_RIGHT_COMMAND, KeyCode::RETURN, ModifierFlag::COMMAND_L | ModifierFlag::OPTION_L</autogen>
    </item>
    <item>
      <name>Windows-like operation</name>
      <item>
        <name>F2 key to Edit a cell (Control+U)</name>
        <item>
          <name>Change Brightness Up to Ctrl+U</name>
          <identifier>remap.app_excel_brightnessup_to_ctrlu</identifier>
          <only>EXCEL</only>
          <autogen>__KeyToKey__ ConsumerKeyCode::BRIGHTNESS_UP, ModifierFlag::FN | ModifierFlag::NONE, KeyCode::U, ModifierFlag::CONTROL_L</autogen>
          <autogen>__KeyToKey__ ConsumerKeyCode::BRIGHTNESS_UP,                    ModifierFlag::NONE, KeyCode::U, ModifierFlag::CONTROL_L</autogen>
          <!--  Brightness Up Key on external keyboard is KeyCode::BRIGHTNESS_UP -->
          <autogen>__KeyToKey__ KeyCode::BRIGHTNESS_UP, ModifierFlag::FN | ModifierFlag::NONE, KeyCode::U, ModifierFlag::CONTROL_L</autogen>
          <autogen>__KeyToKey__ KeyCode::BRIGHTNESS_UP,                    ModifierFlag::NONE, KeyCode::U, ModifierFlag::CONTROL_L</autogen>
        </item>
        <item>
          <name>Change F2 to Ctrl+U</name>
          <identifier>remap.app_excel_f2_to_ctrlu</identifier>
          <only>EXCEL</only>
          <autogen>__KeyToKey__ KeyCode::F2, ModifierFlag::FN | ModifierFlag::NONE, KeyCode::U, ModifierFlag::CONTROL_L</autogen>
          <autogen>__KeyToKey__ KeyCode::F2,                    ModifierFlag::NONE, KeyCode::U, ModifierFlag::CONTROL_L</autogen>
        </item>
      </item>
      <item>
        <name>F4 key to Repeat (Command+Y)</name>
        <item>
          <name>Change Launchpad to Command+Y</name>
          <appendix>(+ Change Dashboard to Command+Y)</appendix>
          <identifier>remap.app_excel_launchpad_to_commandLy</identifier>
          <only>EXCEL</only>
          <autogen>__KeyToKey__ KeyCode::LAUNCHPAD, ModifierFlag::FN | ModifierFlag::NONE, KeyCode::Y, ModifierFlag::COMMAND_L</autogen>
          <autogen>__KeyToKey__ KeyCode::LAUNCHPAD,                    ModifierFlag::NONE, KeyCode::Y, ModifierFlag::COMMAND_L</autogen>
          <autogen>__KeyToKey__ KeyCode::DASHBOARD, ModifierFlag::FN | ModifierFlag::NONE, KeyCode::Y, ModifierFlag::COMMAND_L</autogen>
          <autogen>__KeyToKey__ KeyCode::DASHBOARD,                    ModifierFlag::NONE, KeyCode::Y, ModifierFlag::COMMAND_L</autogen>
        </item>
        <item>
          <name>Change F4 to Command+Y</name>
          <identifier>remap.app_excel_f4_to_commandLy</identifier>
          <only>EXCEL</only>
          <autogen>__KeyToKey__ KeyCode::F4, ModifierFlag::FN | ModifierFlag::NONE, KeyCode::Y, ModifierFlag::COMMAND_L</autogen>
          <autogen>__KeyToKey__ KeyCode::F4,                    ModifierFlag::NONE, KeyCode::Y, ModifierFlag::COMMAND_L</autogen>
        </item>
      </item>
      <item>
        <name>F4 key to Repeat (Command+T)</name>
        <item>
          <name>Change Launchpad to Command+T</name>
          <appendix>(+ Change Dashboard to Command+T)</appendix>
          <identifier>remap.app_excel_launchpad_to_commandLt</identifier>
          <only>EXCEL</only>
          <autogen>__KeyToKey__ KeyCode::LAUNCHPAD, ModifierFlag::FN | ModifierFlag::NONE, KeyCode::T, ModifierFlag::COMMAND_L</autogen>
          <autogen>__KeyToKey__ KeyCode::LAUNCHPAD,                    ModifierFlag::NONE, KeyCode::T, ModifierFlag::COMMAND_L</autogen>
          <autogen>__KeyToKey__ KeyCode::DASHBOARD, ModifierFlag::FN | ModifierFlag::NONE, KeyCode::T, ModifierFlag::COMMAND_L</autogen>
          <autogen>__KeyToKey__ KeyCode::DASHBOARD,                    ModifierFlag::NONE, KeyCode::T, ModifierFlag::COMMAND_L</autogen>
        </item>
        <item><commit_msg>improve swiss support<commit_after><?xml version="1.0"?>
<root>
  <item>
    <name>Enable at only Excel</name>
    <item>
      <name>Emacs bindings for Excel</name>
      <identifier>remap.app_excel_emacs_bindings</identifier>
      <only>EXCEL</only>
      <autogen>__KeyToKey__ KeyCode::F, MODIFIERFLAG_EITHER_LEFT_OR_RIGHT_CONTROL, KeyCode::CURSOR_RIGHT</autogen>
      <autogen>__KeyToKey__ KeyCode::B, MODIFIERFLAG_EITHER_LEFT_OR_RIGHT_CONTROL, KeyCode::CURSOR_LEFT</autogen>
      <autogen>__KeyToKey__ KeyCode::N, MODIFIERFLAG_EITHER_LEFT_OR_RIGHT_CONTROL, KeyCode::CURSOR_DOWN</autogen>
      <autogen>__KeyToKey__ KeyCode::P, MODIFIERFLAG_EITHER_LEFT_OR_RIGHT_CONTROL, KeyCode::CURSOR_UP</autogen>
      <autogen>__KeyToKey__ KeyCode::A, MODIFIERFLAG_EITHER_LEFT_OR_RIGHT_CONTROL, KeyCode::HOME</autogen>
      <autogen>__KeyToKey__ KeyCode::E, MODIFIERFLAG_EITHER_LEFT_OR_RIGHT_CONTROL, KeyCode::END</autogen>
      <autogen>__KeyToKey__ KeyCode::D, MODIFIERFLAG_EITHER_LEFT_OR_RIGHT_CONTROL, KeyCode::FORWARD_DELETE</autogen>
      <autogen>__KeyToKey__ KeyCode::H, MODIFIERFLAG_EITHER_LEFT_OR_RIGHT_CONTROL, KeyCode::DELETE</autogen>
      <autogen>__KeyToKey__ KeyCode::K, MODIFIERFLAG_EITHER_LEFT_OR_RIGHT_CONTROL, KeyCode::CURSOR_RIGHT, ModifierFlag::CONTROL_L | ModifierFlag::SHIFT_L, KeyCode::FORWARD_DELETE</autogen>
      <autogen>__KeyToKey__ KeyCode::J, MODIFIERFLAG_EITHER_LEFT_OR_RIGHT_CONTROL, KeyCode::RETURN, ModifierFlag::COMMAND_L | ModifierFlag::OPTION_L</autogen>
      <autogen>__KeyToKey__ KeyCode::M, MODIFIERFLAG_EITHER_LEFT_OR_RIGHT_CONTROL, KeyCode::RETURN</autogen>
      <autogen>__KeyToKey__ KeyCode::RETURN, MODIFIERFLAG_EITHER_LEFT_OR_RIGHT_COMMAND, KeyCode::RETURN, ModifierFlag::COMMAND_L | ModifierFlag::OPTION_L</autogen>
    </item>
    <item>
      <name>Windows-like operation</name>
      <item>
        <name>F2 key to Edit a cell (Control+U)</name>
        <item>
          <name>Change Brightness Up to Ctrl+U</name>
          <identifier>remap.app_excel_brightnessup_to_ctrlu</identifier>
          <only>EXCEL</only>
          <autogen>__KeyToKey__ ConsumerKeyCode::BRIGHTNESS_UP, ModifierFlag::FN | ModifierFlag::NONE, KeyCode::U, ModifierFlag::CONTROL_L</autogen>
          <autogen>__KeyToKey__ ConsumerKeyCode::BRIGHTNESS_UP,                    ModifierFlag::NONE, KeyCode::U, ModifierFlag::CONTROL_L</autogen>
          <!--  Brightness Up Key on external keyboard is KeyCode::BRIGHTNESS_UP -->
          <autogen>__KeyToKey__ KeyCode::BRIGHTNESS_UP, ModifierFlag::FN | ModifierFlag::NONE, KeyCode::U, ModifierFlag::CONTROL_L</autogen>
          <autogen>__KeyToKey__ KeyCode::BRIGHTNESS_UP,                    ModifierFlag::NONE, KeyCode::U, ModifierFlag::CONTROL_L</autogen>
        </item>
        <item>
          <name>Change F2 to Ctrl+U</name>
          <identifier>remap.app_excel_f2_to_ctrlu</identifier>
          <only>EXCEL</only>
          <autogen>__KeyToKey__ KeyCode::F2, ModifierFlag::FN | ModifierFlag::NONE, KeyCode::U, ModifierFlag::CONTROL_L</autogen>
          <autogen>__KeyToKey__ KeyCode::F2,                    ModifierFlag::NONE, KeyCode::U, ModifierFlag::CONTROL_L</autogen>
        </item>
      </item>
      <item>
        <name>F4 key to Repeat (Command+Y)</name>
        <item>
          <name>Change Launchpad to Command+Y</name>
          <appendix>(+ Change Dashboard to Command+Y)</appendix>
          <identifier>remap.app_excel_launchpad_to_commandLy</identifier>
          <only>EXCEL</only>

          <block>
            <inputsource_only>
              SWISS_FRENCH,
              SWISS_GERMAN,
            </inputsource_only>
            <autogen>__KeyToKey__ KeyCode::LAUNCHPAD, ModifierFlag::FN | ModifierFlag::NONE, KeyCode::Z, ModifierFlag::COMMAND_L</autogen>
            <autogen>__KeyToKey__ KeyCode::LAUNCHPAD,                    ModifierFlag::NONE, KeyCode::Z, ModifierFlag::COMMAND_L</autogen>
            <autogen>__KeyToKey__ KeyCode::DASHBOARD, ModifierFlag::FN | ModifierFlag::NONE, KeyCode::Z, ModifierFlag::COMMAND_L</autogen>
            <autogen>__KeyToKey__ KeyCode::DASHBOARD,                    ModifierFlag::NONE, KeyCode::Z, ModifierFlag::COMMAND_L</autogen>
          </block>

          <block>
            <inputsource_not>
              SWISS_FRENCH,
              SWISS_GERMAN,
            </inputsource_not>
            <autogen>__KeyToKey__ KeyCode::LAUNCHPAD, ModifierFlag::FN | ModifierFlag::NONE, KeyCode::Y, ModifierFlag::COMMAND_L</autogen>
            <autogen>__KeyToKey__ KeyCode::LAUNCHPAD,                    ModifierFlag::NONE, KeyCode::Y, ModifierFlag::COMMAND_L</autogen>
            <autogen>__KeyToKey__ KeyCode::DASHBOARD, ModifierFlag::FN | ModifierFlag::NONE, KeyCode::Y, ModifierFlag::COMMAND_L</autogen>
            <autogen>__KeyToKey__ KeyCode::DASHBOARD,                    ModifierFlag::NONE, KeyCode::Y, ModifierFlag::COMMAND_L</autogen>
          </block>
        </item>
        <item>
          <name>Change F4 to Command+Y</name>
          <identifier>remap.app_excel_f4_to_commandLy</identifier>
          <only>EXCEL</only>

          <block>
            <inputsource_only>
              SWISS_FRENCH,
              SWISS_GERMAN,
            </inputsource_only>
            <autogen>__KeyToKey__ KeyCode::F4, ModifierFlag::FN | ModifierFlag::NONE, KeyCode::Z, ModifierFlag::COMMAND_L</autogen>
            <autogen>__KeyToKey__ KeyCode::F4,                    ModifierFlag::NONE, KeyCode::Z, ModifierFlag::COMMAND_L</autogen>
          </block>

          <block>
            <inputsource_not>
              SWISS_FRENCH,
              SWISS_GERMAN,
            </inputsource_not>
            <autogen>__KeyToKey__ KeyCode::F4, ModifierFlag::FN | ModifierFlag::NONE, KeyCode::Y, ModifierFlag::COMMAND_L</autogen>
            <autogen>__KeyToKey__ KeyCode::F4,                    ModifierFlag::NONE, KeyCode::Y, ModifierFlag::COMMAND_L</autogen>
          </block>
        </item>
      </item>
      <item>
        <name>F4 key to Repeat (Command+T)</name>
        <item>
          <name>Change Launchpad to Command+T</name>
          <appendix>(+ Change Dashboard to Command+T)</appendix>
          <identifier>remap.app_excel_launchpad_to_commandLt</identifier>
          <only>EXCEL</only>
          <autogen>__KeyToKey__ KeyCode::LAUNCHPAD, ModifierFlag::FN | ModifierFlag::NONE, KeyCode::T, ModifierFlag::COMMAND_L</autogen>
          <autogen>__KeyToKey__ KeyCode::LAUNCHPAD,                    ModifierFlag::NONE, KeyCode::T, ModifierFlag::COMMAND_L</autogen>
          <autogen>__KeyToKey__ KeyCode::DASHBOARD, ModifierFlag::FN | ModifierFlag::NONE, KeyCode::T, ModifierFlag::COMMAND_L</autogen>
          <autogen>__KeyToKey__ KeyCode::DASHBOARD,                    ModifierFlag::NONE, KeyCode::T, ModifierFlag::COMMAND_L</autogen>
        </item>
        <item>
{'fraction_non_alphanumeric': 0.12016710353866317, 'fraction_numerical': 0.0022935779816513763, 'mean_word_length': 3.5795198799699923, 'pattern_counts': {'":': 0, '<': 289, '<?xml version=': 2, '>': 289, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3519858', 'n_tokens_mistral': 4177, 'n_tokens_neox': 4123, 'n_words': 546}