this is a two-parter.
I am a longtime vi/vim user trying out phpstorm 10. i have the ideavim plugin installed and, generally speaking, it's the best vim emulator i've seen to date. however, there are two issues that i would love to get solutions for.
1. consistent shell escape behaviour
shell escaping works sometimes and totally fails other times. for instance:
:10,20!sort
sorts all the lines between 10 and 20 as expected. however:
:10,20!awk '{print $2}'
just throws the lines away... is there a way to fix this? i'm very attached to shell escapes.
2. ctrl-n and ctrl-p completion
this question was asked previously here, but the answer was wholly unsatisfying (basically "just do something totally different").
i have gone to file->settings->'other settings'->'vim emulation' and set the 'ctrl-N' and 'ctrl-P' handlers to 'vim'... but it does nothing. indeed, ctrl-p and ctrl-n seem completely disabled.
for reference, I am looking for this to behave in a vim-like way if at all possible, ie complete words found in the buffer. for instance:
// foobar
foo^p
to get 'foobar'.
is this possible? if so, how?