好得很程序员自学网

<tfoot draggable='sEl'></tfoot>

Vim代码缩进设置 - Linux操作系统:Ubuntu_Centos_Deb

缩进设置最常用的是:

:filetype indent on
它将开启针对文件具体类型的缩进。

下面的选项需要在命令模式下用set设置的选项的含义。使用方法如:

set ci       # 开启cindent
set noet     # 关闭expandtab
set sw=4     # shiftwidth=4

查看更多关于Vim代码缩进设置 - Linux操作系统:Ubuntu_Centos_Deb的详细内容...

  阅读:50次