gyaani_guy
gyaani_guy

Reputation: 3209

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?

Upvotes: 3

Views: 1523

Answers (2)

edi9999
edi9999

Reputation: 20544

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 ^

Upvotes: 0

gyaani_guy
gyaani_guy

Reputation: 3209

Figured it out !

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

Upvotes: 1

Related Questions