Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ideavim :normal ex command not supported?

I'm using pycharm and ideavim plugin for vim-like editing.

When I using :normal command, I was told "Not an editor command: normal"

Is there an alternative way to be done my work (for multi-lines run same macro), or there's a way to add normal command in ideavim?

like image 309
jixiang Avatar asked Dec 16 '15 09:12

jixiang


1 Answers

ideavim doesn't (yet) support normal command. But if you want to apply macro on multiple lines, you could add j/k , +/- or other linewise motions in your macro, so that it will automatically process multiple lines.

E.g a simple macro: dd to delete a line. If you added j -> ddj and do x@y it will delete x lines.

like image 50
Kent Avatar answered Sep 19 '22 22:09

Kent