Last active
August 29, 2015 14:17
-
-
Save zakky-dev/6e8439a27ffb443574aa to your computer and use it in GitHub Desktop.
Karabinerのemacs modeのMark Setの挙動が気持ち悪かったので
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<root> | |
<item> | |
<name>Emacs Mode Extension</name> | |
<item> | |
<name>MarkSet Mode Ext Detail</name> | |
<appendix>Control+W to Command_L+X</appendix> | |
<appendix>Option+W to Command_L+C</appendix> | |
<appendix>Control+G to turn off MarkSet</appendix> | |
<appendix>Control+Space to turn off MarkSet</appendix> | |
<appendix>Control+H to Delete</appendix> | |
<appendix>Control+D to Forward Delete</appendix> | |
<identifier vk_config="true">notsave.emacsmodeext_ex_controlSpace_core</identifier> | |
<autogen>__ShowStatusMessage__ MarkSet</autogen> | |
{{ EMACS_MODE_MARKSET_EXTRA }} | |
<autogen> | |
__KeyToKey__ | |
KeyCode::Y, MODIFIERFLAG_EITHER_LEFT_OR_RIGHT_CONTROL | ModifierFlag::SHIFT_L | ModifierFlag::NONE, | |
KeyCode::VK_LOCK_SHIFT_L_FORCE_OFF, | |
KeyCode::V, ModifierFlag::COMMAND_L, | |
KeyCode::VK_CONFIG_FORCE_OFF_notsave_emacsmodeext_ex_controlSpace_core, | |
Option::NOREPEAT, | |
</autogen> | |
<autogen> | |
__KeyToKey__ | |
KeyCode::D, MODIFIERFLAG_EITHER_LEFT_OR_RIGHT_CONTROL | ModifierFlag::SHIFT_L | ModifierFlag::NONE, | |
KeyCode::VK_LOCK_SHIFT_L_FORCE_OFF, | |
KeyCode::FORWARD_DELETE, | |
KeyCode::VK_CONFIG_FORCE_OFF_notsave_emacsmodeext_ex_controlSpace_core, | |
Option::NOREPEAT, | |
</autogen> | |
<autogen> | |
__KeyToKey__ | |
KeyCode::H, MODIFIERFLAG_EITHER_LEFT_OR_RIGHT_CONTROL | ModifierFlag::SHIFT_L | ModifierFlag::NONE, | |
KeyCode::VK_LOCK_SHIFT_L_FORCE_OFF, | |
KeyCode::DELETE, | |
KeyCode::VK_CONFIG_FORCE_OFF_notsave_emacsmodeext_ex_controlSpace_core, | |
Option::NOREPEAT, | |
</autogen> | |
<autogen> | |
__KeyToKey__ | |
KeyCode::W, MODIFIERFLAG_EITHER_LEFT_OR_RIGHT_CONTROL | ModifierFlag::SHIFT_L | ModifierFlag::NONE, | |
KeyCode::VK_LOCK_SHIFT_L_FORCE_OFF, | |
KeyCode::X, ModifierFlag::COMMAND_L, | |
KeyCode::VK_CONFIG_FORCE_OFF_notsave_emacsmodeext_ex_controlSpace_core, | |
Option::NOREPEAT, | |
</autogen> | |
<autogen> | |
__KeyToKey__ | |
KeyCode::W, MODIFIERFLAG_EITHER_LEFT_OR_RIGHT_OPTION | ModifierFlag::SHIFT_L | ModifierFlag::NONE, | |
KeyCode::VK_LOCK_SHIFT_L_FORCE_OFF, | |
KeyCode::C, ModifierFlag::COMMAND_L, | |
KeyCode::VK_CONFIG_FORCE_OFF_notsave_emacsmodeext_ex_controlSpace_core, | |
Option::NOREPEAT, | |
</autogen> | |
<autogen> | |
__KeyToKey__ | |
KeyCode::G, MODIFIERFLAG_EITHER_LEFT_OR_RIGHT_CONTROL | ModifierFlag::SHIFT_L | ModifierFlag::NONE, | |
KeyCode::VK_LOCK_SHIFT_L_FORCE_OFF, | |
KeyCode::VK_CONFIG_FORCE_OFF_notsave_emacsmodeext_ex_controlSpace_core, | |
Option::NOREPEAT, | |
</autogen> | |
<autogen> | |
__KeyToKey__ | |
KeyCode::SPACE, MODIFIERFLAG_EITHER_LEFT_OR_RIGHT_CONTROL | ModifierFlag::SHIFT_L | ModifierFlag::NONE, | |
KeyCode::VK_LOCK_SHIFT_L_FORCE_OFF, | |
KeyCode::VK_CONFIG_FORCE_OFF_notsave_emacsmodeext_ex_controlSpace_core, | |
Option::NOREPEAT, | |
</autogen> | |
</item> | |
<item> | |
<name>Enable Emacs Mode Extension</name> | |
<identifier>private.emacsmodeext_ex_controlSpace_core</identifier> | |
<not>{{EMACS_MODE_IGNORE_APPS}}</not> | |
<autogen> | |
__KeyToKey__ | |
KeyCode::SPACE, MODIFIERFLAG_EITHER_LEFT_OR_RIGHT_CONTROL | ModifierFlag::NONE, | |
KeyCode::VK_LOCK_SHIFT_L_FORCE_ON, | |
KeyCode::VK_CONFIG_FORCE_ON_notsave_emacsmodeext_ex_controlSpace_core | |
</autogen> | |
</item> | |
</item> | |
</root> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment