是否可以使用IdeaVim创建自定义命令(例如:command中的vim?尝试运行:command ... ...会弹出Not an editor command: command。
:command
vim
:command ... ...
Not an editor command: command
您可以通过在〜/ .ideavimrc中添加以下内容来向IdeaVim注册自定义命令。
command! Reformat action ReformatCode
并用:Reformat调用。
:Reformat