Vim格式化代码快捷键

46 阅读1分钟
  1. 修改配置文件 vim ~/.vimrc 没有就创建

    filetype plugin indent on
    
    
  2. 在文件普通模式下输入 gg=G