Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有什么方法可以使用 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