简体   繁体   中英

(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.

~/.ideavimrc添加以下行:

nnoremap <Space> :action AceAction<CR>

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>

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM