maggieneedsahug 2021-08-02 22:47
浏览 100
已结题

vim映射两个指令,not an editor command

装了个autoformat,如果用 noremap :Autoformat 的话,可以运行但不缩进,所以我每次都要手打gg=G。
查了查,改成noremap gg=G | :Autoformat的话,vim报错E492: Not an editor command: :Autoformat
咋办

  • 写回答

0条回答 默认 最新

    报告相同问题?

    问题事件

    • 系统已结题 8月10日
    • 创建了问题 8月2日