Skip to content

Instantly share code, notes, and snippets.

@ohtsuchi
Last active July 15, 2019 08:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ohtsuchi/6626ecf36da8b065c8c36789fd7b79f1 to your computer and use it in GitHub Desktop.
Save ohtsuchi/6626ecf36da8b065c8c36789fd7b79f1 to your computer and use it in GitHub Desktop.

IDE キーマップとの競合を解決 ( Preferences(⌘,) - Editor - Vim Emulation )

  • IDE に変更
    • ^G (Add Selection for Next Occurrence)
    • ^H (Base on This Function)
      • Karabiner の設定からも除外
    • ^P (Up)
      • Karabiner の設定からも除外

Navigate : File(⇧⌘O), Type, Class, Symbol

  • File : ⇧⌘O
    • Type, Class : ⌘O
    • Symbol: ⌥⌘O

Navigate : File Structure (⌘F12), View - Tool Windows - Structure (⌘7)

  • File Structure : ⌘F12
    • Structure : ⌘7

Navigate : Super Method(Cmd + U)

  • Super Method: Cmd + U

Edit - Find - Find : Usages(⌥F7, ⌘B)

  • Show Usages : ⌥⌘F7, ⌘B
    • Find Usages : ⌥F7
    • Highlight Usages in File : ⇧⌘F7

Edit - Find - Find : Add Selection for Next Occurrence [Multiple Selections] (^G)

  • Add Selection for Next Occurrence (Multiple Selections): ^G
    • Unselect Occurrence : ^⇧G
    • Select All Occurrences : ^⌘G

View - Tool Windows - Hierarchy (⌘8), Navigate : Call Hierarchy (^⌥H) / Type Hierarchy (^H)

  • Hierarchy : ⌘8
  • Call Hierarchy : ^⌥H
    • Type Hierarchy : ^H
      • (注) Karabiner の設定の Ctrl + h と被る
        • -> .ideavimrc でマッピング

View : Parameter Info (⌘P) / Type Info (^⇧P)

  • Parameter Info : ⌘P
  • Show Type Info (Expression Type): ^⇧P
    • (注) Karabiner の設定の Ctrl + p と被る
      • -> .ideavimrc でマッピング

Git: Annotate (git blame)

  • Git: Annotate

View - Tool Windows - Version Control (⌘9) / Terminal (⌥F12)

  • Version Control : ⌘9
  • Terminal : ⌥F12

Code : Insert Live Template(⌘J)

  • Insert Live Template ⌘J

Code : Surround(⌥⌘T, ⌥⌘J)

  • Surround With : ⌥⌘T
    • Surround With Live Template : ⌥⌘J

View : Recently Changed Files

  • Recently Changed Files : ⇧⌘E
    • Recent Files : ⌘E

Edit : Selection

  • Extend Selection : ⌥↑
    • Shrink Selection : ⌥↓

Code : Format (⌥⌘L), Imports (^⌥O)

  • ReFormat Code : ⌥⌘L
  • Optimize Imports : ^⌥O

View : Quick Documentation (F1 or ⇧K) / Error Description (⌘F1)

  • Quick Documentation : F1 or ⇧K
    • 複数回押していくとウィンドウのサイズが変わる
  • Error Description : ⌘F1
    • 2つ以上プロジェクトを開いている場合は, プロジェクト移動 ??

Navigate : Error (F2)

  • Next Highlighted Error : F2
    • Previous Highlighted Error : ⇧F2

Code - Completion - SmartType (^⇧<Space>)

  • SmartType : ^⇧<Space>

Navigate : Implementation(s)(⌥⌘B)

  • Implementation(s) : ⌥⌘B
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment