LoginSignup
3
3

More than 5 years have passed since last update.

IntelliJのSearch Everywhere(とか)でカーソルキーを強要されるのでKarabinerの設定を書いた

Posted at

最近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>

3
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
3