intellij-ideakeyboard-shortcutsgoland

Intellij keymap - how to jump x lines up or down


Is there any way to create a keymap for jumping x lines up or down in GoLand? Just switched from sublime to Goland, and I really need this shortcut...

Thanks


Solution

  • By default, you can only move one line up/down. You also have the option to use Navigate | Line/Number feature.

    You can also create a custom macro for the IDE to use and customize exactly how you want it to behave. Go to Edit | Macros | Start Macro Recording use arrow up/down as many times as you need, and then go to Edit | Macros | Stop Macro Recording. After you save it with a name, you can go to Settings | Keymap, search for the macro name and assign it a shortcut or even abbreviation to make it easy to find via the Find Action/Search Everywhere functionality.