'How can you map .ideavimrc to switch between tabs in Intellij
In intellij with the vim plugin. I am trying to switch between tabs from within from rather than using intellij's default setup of alt+left and alt+right to switch between tabls. I would like to map Control+H to Alt+left arrow. And also Control+L to Alt+right arrow.
What would I put into my .ideavimrc file?
Solution 1:[1]
You can change the mapping to switch between tabs using Idea
or ideaVim
as follows
The Idea way
Settings
>Keymap
- Search for
select next tab
- Change the mapping to what you like
The ideaVim way
Open
search everywhere
>Actions
Type
track action id
and enable the corresponding optionType
select next tab
and run the corresponding actionYou will find the action id at the left bottom. Add it to
.ideavimrc
likenmap <c-l> <Action>(NextTab)
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 |