Last active
January 20, 2017 08:32
-
-
Save rcmdnk/60572fcb90efb8a8a96b6fac5045561c to your computer and use it in GitHub Desktop.
private.xml for 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> | |
<replacementdef> | |
<replacementname>VIM_EMU_IGNORE_APPS</replacementname> | |
<replacementvalue>TERMINAL, VI, CATHODE, PASSWORD, FIREFOX, EMACS, LOGMEIN, GOOGLE_CHROME</replacementvalue> | |
</replacementdef> | |
<!-- key mappings with vim_emu --> | |
<list> | |
<item> | |
<name>MySetting with vim_emu</name> | |
<list> | |
<item> | |
<name>My General with vim_emu</name> | |
<list> | |
<item> | |
<name>Page Up/Down to left/right bracket</name> | |
<identifier>private.page_up_down_vim_emu</identifier> | |
<block> | |
<config_only>notsave.vim_emu_normal{{VIM_EMU_ALTCONFIG}}</config_only> | |
<autogen> | |
__KeyToKey__ KeyCode::PAGEUP, KeyCode::COMMA, VK_SHIFT | |
</autogen> | |
<autogen> | |
__KeyToKey__ KeyCode::PAGEDOWN, KeyCode::DOT, VK_SHIFT | |
</autogen> | |
</block> | |
</item> | |
<item> | |
<name>Shift-h/j/k/l to </name> | |
<identifier>private.shift_hjkl_vim_emu</identifier> | |
<block> | |
<config_only>notsave.vim_emu_normal{{VIM_EMU_ALTCONFIG}}</config_only> | |
<autogen> | |
__KeyToKey__ KeyCode::H, VK_SHIFT, KeyCode::BRACKET_LEFT, VK_COMMAND | |
</autogen> | |
<autogen> | |
__KeyToKey__ KeyCode::J, VK_SHIFT, KeyCode::CURSOR_LEFT, VK_COMMAND, VK_OPTION | |
</autogen> | |
<autogen> | |
__KeyToKey__ KeyCode::K, VK_SHIFT, KeyCode::CURSOR_RIGHT, VK_COMMAND, VK_OPTION | |
</autogen> | |
<autogen> | |
__KeyToKey__ KeyCode::L, VK_SHIFT, KeyCode::BRACKET_RIGHT, VK_COMMAND | |
</autogen> | |
</block> | |
</item> | |
</list> | |
</item> | |
</list> | |
</item> | |
</list> | |
</root> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment