现在的位置: 首页 > 综合 > 正文

永久设置vim tab宽度

2013年06月13日 ⁄ 综合 ⁄ 共 116字 ⁄ 字号 评论关闭

编辑~/.vimrc,添加以下内容

set tabstop=4

set softtabstop=4
set shiftwidth=4
set noexpandtab
set nu
set autoindent

set cindent

source ~/.vimrc

抱歉!评论已关闭.