简体   繁体   中英

configuring Ideavim (phpstorm plugin)

I want to reconfigure certain keys in the ideavim plugin for phpstorm. Specifcally change 0 to act like ^ in normal mode. Is this possible? I tried looking at the keymaps settings for vim, but it doesn't have an action called go to beginning of line(ignoring whitespace) and strangely all the keys for vim are shown as regular keys (home , end etc) and not vim keys.

Anybody knows whats up?

Figured it out !

settings > keymaps > select the chosen keymap (vim) > in the list drill down to plugins > ideavim > and edit away!

The IdeaVim plugin also supports a subset of the vimrc commands.

You have to store your file in ~/.ideavimrc

You could for example enter there:

nnoremap 0 ^

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