
Now, go to File -> Setting -> Editor -> Vim and change all these new shortcuts to use IDE instead of VIM. OK, you have set the most important and frequently used shortcuts in a way that allows you to use them without lifting your hands off the keyboard. CTRL + L : Navigate – Go To Declaration or Usages.CTRL + K : 3 things here: View Recent Files + Toggle Changed Only Files + Iterate Recent Files.CTRL + J : Navigate – Go To Implementations.(Remember that Caps Lock should serve as the Ctrl key in Windows/Linux or Command key under macOS ) Now Go to File -> Setting -> Keymap and set: In macOS’s case do this with Command, instead of Ctrl (in other words, if you’re using a Mac, you need to remap Caps Lock to Command ).

The first step here is to make Caps Lock key a Ctrl key, at the operating system level in Windows and Linux. In contrast to this, a good keymap is, for example, Caps Lock + i or Caps Lock + k – you can press these keys while your hands lay comfortably on the keyboard.Ĭaps Lock is a key that you don’t normally use – and I advise you to change that. To press these keys you must take your hand off its natural position. In my opinion, a bad keymap is something like ctrl + shift + f12. The rule of thumb is to use keys that are quickly available and comfortable to use. 16 custom IntelliJ shortcuts for Windows, Linux and macOS If you are in edit mode and want to exit to visual mode now press jk instead of default Esc. After the plugin is installed open configuration file ~/.ideavimrc and paste: :imap jk īefore we go any further, there’s one shortcut we need to set up first. To do this, in IntelliJ Idea go to File -> Settings -> Plugins, and in the search box type vim.
Intellij vim shortcuts install#
Install the Plugin IdeaVim from MarketPlace Turn off editor tabs: Window -> Editor Tabs -> Configure Editor Tabs -> Tab placement -> set to none.

Intellij vim shortcuts code#
If you like to work and write code with the help of a mouse or you don’t like vim, this article won’t help you. Of course, while shortcuts will certainly make you edit your code like a ninja, it’s worth pointing out there are still some limitations. Why? Because a well-planned keyboard shortcut or mouse shortcut can make a huge difference – I know this from experience, so I’ve decided to help other people out. In this article, I’ll offer you some shortcut tips (for Windows, macOS, and Linux) that should prove very helpful in this regard. IntelliJ Idea is a powerful tool, but working it out can be a bit challenging and time-consuming.
