日期:2014-05-16  浏览次数:20567 次

关于ubuntu下vim中缩紧失效,变为8的问题
如题,vim以前就配置好了,不知道最近怎么回事突然失效了,而且怎么设置都设置不会来,换行缩进一直8,不喜欢,喜欢用4格,不知道是软件冲突还是插件冲突的问题,求大神解决....

Ps:最近都没怎么动它,用备份的东西替换了也不行

------解决方案--------------------
Perl code
set mouse=a        " Enable mouse usage (all modes)
set number 
set smartindent  
set smarttab  
set expandtab  
set tabstop=4  
set softtabstop=4  
set shiftwidth=4  


" Source a global configuration file if available
if filereadable("/etc/vim/vimrc.local")
  source /etc/vim/vimrc.local
endif

zhu@ubuntu:~/perl$

------解决方案--------------------
看看/ect/vim/vimrc