以前からWindowsで使っていたリマップの設定をMacに適用する。
Karabiner
使うのはKarabiner以前から使っているが、今回はPrivate.xmlで設定する。
http://qiita.com/altitude3190/items/bbef986ff8dd288b2641
http://qiita.com/ogomr/items/c724d2ec88552104f453
Private.xml
こんな感じ。
<name>Right command to cursor move</name>
<identifier>private.remap.r_coomand_to_cursor</identifier>
<autogen>
__KeyToKey__
KeyCode::J, ModifierFlag::COMMAND_R,
KeyCode::CURSOR_LEFT
</autogen>
<autogen>
__KeyToKey__
KeyCode::I, ModifierFlag::COMMAND_R,
KeyCode::CURSOR_UP
</autogen>
<autogen>
__KeyToKey__
KeyCode::K, ModifierFlag::COMMAND_R,
KeyCode::CURSOR_DOWN
</autogen>
<autogen>
__KeyToKey__
KeyCode::L, ModifierFlag::COMMAND_R,
KeyCode::CURSOR_RIGHT
</autogen>
<autogen>
__KeyToKey__
KeyCode::H, ModifierFlag::COMMAND_R,
KeyCode::HOME
</autogen>
<autogen>
__KeyToKey__
KeyCode::SEMICOLON, ModifierFlag::COMMAND_R,
KeyCode::END
</autogen>
<autogen>
__KeyToKey__
KeyCode::N, ModifierFlag::COMMAND_R,
KeyCode::PAGEUP
</autogen>
<autogen>
__KeyToKey__
KeyCode::M, ModifierFlag::COMMAND_R,
KeyCode::PAGEDOWN
</autogen>
<autogen>
__KeyToKey__
KeyCode::U, ModifierFlag::COMMAND_R,
KeyCode::DELETE
</autogen>
<autogen>
__KeyToKey__
KeyCode::O, ModifierFlag::COMMAND_R,
KeyCode::FORWARD_DELETE
</autogen>
</item>