最近HHKB Pro JPからHHKB Pro2に乗り換えたらIntelliJでジャンプする度にFnキーを押さないといけなくて本当に辛かったので設定を書いた。
本当はIntelliJ側で設定したいけどSearch EverywhereのUIでのキーバインドを設定する方法が無さそうだった。
<?xml version="1.0"?>
<root>
<appdef>
<appname>INTELLIJ</appname>
<equal>com.jetbrains.intellij</equal>
</appdef>
<list>
<item>
<name>Control + n to DOWN(IntelliJ)</name>
<identifier>private.intellij_down.control_n</identifier>
<only>INTELLIJ</only>
<autogen>--KeyToKey-- KeyCode::N, ModifierFlag::CONTROL_L, KeyCode::CURSOR_DOWN</autogen>
</item>
<item>
<name>Control + p to UP(IntelliJ)</name>
<identifier>private.intellij_up.control_p</identifier>
<only>INTELLIJ</only>
<autogen>--KeyToKey-- KeyCode::P, ModifierFlag::CONTROL_L, KeyCode::CURSOR_UP</autogen>
</item>
</list>
</root>