Last active
October 19, 2016 11:56
-
-
Save risou/9288e261deb4d9f33bb88e73fcb0a463 to your computer and use it in GitHub Desktop.
Karabiner の設定ファイル
This file contains 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> | |
<list> | |
<item> | |
<name>AquaSKK</name> | |
<appdef> | |
<appname>Terminal</appname> | |
<equal>com.googlecode.iterm2</equal> | |
<equal>com.apple.Terminal</equal> | |
</appdef> | |
<list> | |
<item> | |
<name>Ctrl-J to Kana on Apple Terminal/iTerm2</name> | |
<only>Terminal</only> | |
<identifier>private.iterm2.ctrl_j_to_kana</identifier> | |
<autogen> | |
__KeyToKey__ | |
KeyCode::J, ModifierFlag::CONTROL_L, | |
KeyCode::JIS_KANA | |
</autogen> | |
</item> | |
<item> | |
<name>Ctrl-J to Kana on Apple Terminal/iTerm2 for Dvorak user</name> | |
<only>Terminal</only> | |
<identifier>private.iterm2.ctrl_j_to_kana.dvorak</identifier> | |
<autogen> | |
__KeyToKey__ | |
KeyCode::C, ModifierFlag::CONTROL_L, | |
KeyCode::JIS_KANA | |
</autogen> | |
</item> | |
</list> | |
</item> | |
</list> | |
<replacementdef> | |
<replacementname>LAUNCHER_MODE_V2_KEY_ORIG</replacementname> | |
<replacementvalue>KeyCode::Z</replacementvalue> | |
</replacementdef> | |
<item> | |
<name>Launcher Mode Orig</name> | |
<item> | |
<name>Launcher Mode v2 orig</name> | |
<appendix>Open apps by shortcut keys.</appendix> | |
<identifier>remap.launcher_mode_v2_orig</identifier> | |
{{ LAUNCHER_MODE_V2_CONDITION }} | |
<autogen> | |
__KeyOverlaidModifier__ | |
{{ LAUNCHER_MODE_V2_KEY_ORIG }}, | |
<!-- | |
Use notsave.launcher_mode_v2 in order to be higher priority. | |
Use ModifierFlag::LAUNCHER_MODE_V2 for __DropAllKeys__. | |
--> | |
@begin | |
KeyCode::VK_CONFIG_SYNC_KEYDOWNUP_notsave_launcher_mode_v2_orig, ModifierFlag::LAUNCHER_MODE_V2, | |
@end | |
@begin | |
{{ LAUNCHER_MODE_V2_KEY_ORIG }}, | |
@end | |
</autogen> | |
</item> | |
<item hidden="true"> | |
<identifier vk_config="true">notsave.launcher_mode_v2_orig</identifier> | |
{{ LAUNCHER_MODE_V2_EXTRA }} | |
<autogen> | |
__BlockUntilKeyUp__ {{ LAUNCHER_MODE_V2_KEY_ORIG }} | |
</autogen> | |
<autogen>__KeyDownUpToKey__ KeyCode::E, KeyCode::VK_OPEN_URL_APP_Emacs</autogen> | |
<autogen>__KeyDownUpToKey__ KeyCode::C, KeyCode::VK_OPEN_URL_APP_Chrome</autogen> | |
<autogen>__KeyDownUpToKey__ KeyCode::T, KeyCode::VK_OPEN_URL_APP_ITerm2</autogen> | |
<autogen>__KeyDownUpToKey__ KeyCode::S, KeyCode::VK_OPEN_URL_APP_Slack</autogen> | |
<autogen>__KeyDownUpToKey__ KeyCode::F, KeyCode::VK_OPEN_URL_APP_YoruFukurou</autogen> | |
<autogen>__KeyDownUpToKey__ KeyCode::A, KeyCode::VK_OPEN_URL_APP_Activity_Monitor</autogen> | |
<autogen> | |
__DropAllKeys__ | |
ModifierFlag::LAUNCHER_MODE_V2, | |
Option::DROPALLKEYS_DROP_KEY, | |
</autogen> | |
</item> | |
</item> | |
<vkopenurldef> | |
<name>KeyCode::VK_OPEN_URL_APP_Emacs</name> | |
<url type="file">/Applications/Emacs.app</url> | |
</vkopenurldef> | |
<vkopenurldef> | |
<name>KeyCode::VK_OPEN_URL_APP_Chrome</name> | |
<url type="file">/Applications/Google Chrome.app</url> | |
</vkopenurldef> | |
<vkopenurldef> | |
<name>KeyCode::VK_OPEN_URL_APP_ITerm2</name> | |
<url type="file">/Applications/iTerm.app</url> | |
</vkopenurldef> | |
<vkopenurldef> | |
<name>KeyCode::VK_OPEN_URL_APP_Slack</name> | |
<url type="file">/Applications/Slack.app</url> | |
</vkopenurldef> | |
<vkopenurldef> | |
<name>KeyCode::VK_OPEN_URL_APP_YoruFukurou</name> | |
<url type="file">/Applications/Night Owl.app</url> | |
</vkopenurldef> | |
</root> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment