Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 898
oren Avatar asked Dec 18 '25 22:12

oren


1 Answers

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.

like image 76
dlsniper Avatar answered Dec 21 '25 14:12

dlsniper