syntax on
set ts=4
set autoindent
set smartindent
set cindent shiftwidth=4
set softtabstop=4
autocmd FileType c set expandtab
autocmd FileType cpp set expandtab
autocmd FileType php set expandtab
autocmd FileType python set expandtab
set nobackup
set backupcopy=no
set hlsearch
set incsearch
set fencs=ucs-bom,utf8,gbk
set tenc=gbk
set enc=utf8Linux环境.vimrc.utf-8设置
最新推荐文章于 2024-07-12 11:11:37 发布
本文详细介绍了如何在Vim编辑器中进行高效语法设置、编码方式调整以及自动缩进等操作,旨在提升编程效率与代码可读性。包括设置语法高亮、智能缩进、编码转换等功能,适用于各种编程语言。
682

被折叠的 条评论
为什么被折叠?



