Tomáš Sandrini
Tomáš Sandrini

Reputation: 11

(Jetbrains IDEs) Remap AceJump to IdeaVim insert mode

I'm currently switching from VIM to PhpStorm and almost everything I've been able to configure by myself and all around I'm pretty happy with VIM support in PhpStorm but there's been one thing that I couldn't figure out how to do. And that is how to remap keybinding from plugin A to plugin B. Concretely my need is to remap AceJump hotkey to space in command mode.

Upvotes: 1

Views: 1240

Answers (2)

user2185573
user2185573

Reputation:

You can do this for the three different mappings for AceJump by adding the following to ~/.ideavimrc

nmap <Space>w :action AceAction<CR>
nmap <Space>l :action AceLineAction<CR>
nmap <Space>t :action AceTargetAction<CR>

Upvotes: 1

Huy Le
Huy Le

Reputation: 667

On your ~/.ideavimrc add this line:

nnoremap <Space> :action AceAction<CR>

Upvotes: 1

Related Questions