1、找到 vimrc 文件

mac ox 路径 /usr/share/vim/

 

mac ox 结局vim无颜色

 

2、vim 编辑 vimrc

追加

let skip_defaults_vim=1       // 设置跳过加载默认vim配置

syntax on                             //自动语法高亮

set nu!                                 //显示行号

set autoindent                     //设置自动缩进

如下:

mac ox 结局vim无颜色

3、完成

4、高端操作参考

 https://blog.csdn.net/g960214/article/details/100013958

相关文章:

  • 2021-07-15
  • 2022-12-23
  • 2021-12-29
  • 2021-12-02
  • 2021-07-06
  • 2021-12-11
  • 2021-06-16
猜你喜欢
  • 2021-08-14
  • 2021-11-14
  • 2022-12-23
  • 2022-12-23
  • 2022-01-26
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案