Last active
August 26, 2025 13:54
-
-
Save maio/61bae21d0420490a39a1f31338e291cf to your computer and use it in GitHub Desktop.
IntelliJ IDEA shortcuts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // https://gist.github.com/maio/61bae21d0420490a39a1f31338e291cf | |
| import com.intellij.openapi.keymap.KeymapManager | |
| import liveplugin.PluginUtil.assignKeyStroke | |
| import liveplugin.implementation.Actions | |
| val keymap = KeymapManager.getInstance().activeKeymap | |
| // Remove ijkl plugin shortcuts which we don't want | |
| keymap.removeShortcut("RenameElement", Actions.asKeyboardShortcut("alt R")!!) | |
| keymap.removeShortcut("ReopenClosedTab", Actions.asKeyboardShortcut("ctrl shift T")!!) | |
| // https://centic9.github.io/IntelliJ-Action-IDs/ | |
| assignKeyStroke("RefactoringMenu", "alt R, alt R") | |
| assignKeyStroke("ExtractMethod", "alt R, alt M") | |
| assignKeyStroke("Inline", "alt R, alt N") | |
| assignKeyStroke("IntroduceParameter", "alt R, alt P") | |
| assignKeyStroke("IntroduceVariable", "alt R, alt V") | |
| assignKeyStroke("SelectNextOccurrence", "alt G") | |
| assignKeyStroke("GotoTest", "ctrl shift T") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment