Karabinerでカーソル移動をh、j、k、lにする(備忘録)

More than 1 year has passed since last update.

private.xmlに以下を追記

Fnキーを押してh、j、k、lを押すとカーソル移動イベントになる

<item>
    <name>Fn vim</name>
    <identifier>private.fnvim</identifier>
    <autogen>
        __KeyToKey__
        KeyCode::K, ModifierFlag::FN,
        KeyCode::CURSOR_UP
    </autogen>
    <autogen>
        __KeyToKey__
        KeyCode::J, ModifierFlag::FN,
        KeyCode::CURSOR_DOWN
    </autogen>
    <autogen>
        __KeyToKey__
        KeyCode::H, ModifierFlag::FN,
        KeyCode::CURSOR_LEFT
    </autogen>
    <autogen>
        __KeyToKey__
        KeyCode::L, ModifierFlag::FN,
        KeyCode::CURSOR_RIGHT
    </autogen>
</item>
Sign up for free and join this conversation.
Sign Up
If you already have a Qiita account log in.