_vimrc】的更多相关文章

我ctm,今天配置不让tab转为空格,在_vimrc中set noexpandtab 不起效果. set ts=4也不起效果. 但是在命令行中其效果. 我都不知道咋办了. 问人说我有可能使用的不是那个目录下的_vimrc 检查了,没问题. 后来在网上搜了半天都没找到原因. 最后,机智的我用英文搜了一下, windows _vimrc set noexpandtab do not work 居然找到答案了. 大意就是使用了python插件,里面有一个什么标准,会在加载_vimrc之后去加载,所以就…
_vimrc在用户目录下: set fileencodings=ucs-bom,utf-,cp936,gb18030,big5,euc-jp,euc-kr,latin1 set encoding=utf- set termencoding=cp936 language messages zh_CN.UTF- color koehler syntax on set guifont=Consolas:h16 set fileformats=unix,dos set ignorecase set sm…
""""""""""""""""""""""""""""""""""""""""""&qu…
set nocompatible source $VIMRUNTIME/vimrc_example.vim source $VIMRUNTIME/mswin.vim behave mswin set nocompatible " 去除VI一致性,必须 set diffexpr=MyDiff() function MyDiff() let opt = '-a --binary ' if &diffopt =~ 'icase' | let opt = opt . '-i ' | endif…
"不使用兼容vi的模式set nocompatible source $VIMRUNTIME/vimrc_example.vimsource $VIMRUNTIME/mswin.vimbehave mswin set diffexpr=MyDiff()function MyDiff() let opt = '-a --binary ' if &diffopt =~ 'icase' | let opt = opt . '-i ' | endif if &diffopt =~ 'iw…
windows set nocompatible set guifont=Consolas:h17 color molokai set backspace=2 set sts=4 set ts=4 set sw=4 set go= set mouse=a set nu set clipboard=unnamed syntax on set smartindent set autoindent set cin set nohls filetype plugin on set laststatus=…
set nocompatible source $VIMRUNTIME/vimrc_example.vim source $VIMRUNTIME/mswin.vim behave mswin set nobackup set noundofile set noswapfile set encoding=utf- set fileencodings=utf-,chinese,latin- if has("win32") set fileencoding=chinese else set…
Windows下 syntax on "高亮 "缩进 set cindent "set cin set smartindent "set si set autoindent "set ai set tabstop=4 "set ts=4 set shiftwidth=4 "set sw=4 set softtabstop=4 "set sts=4 set mouse=a "Linux鼠标使用 "行号 set…
set nocompatiblesource $VIMRUNTIME/vimrc_example.vimsource $VIMRUNTIME/mswin.vimbehave mswin set diffexpr=MyDiff()function MyDiff() let opt = '-a --binary ' let g:snip_set_textmate_cp=1 if &diffopt =~ 'icase' | let opt = opt . '-i ' | endif if &di…
set nocompatible set encoding=utf8 set guioptions-=T set number set guifont=consolas:h12 source $VIMRUNTIME/delmenu.vim source $VIMRUNTIME/menu.vim filetype off filetype plugin indent on syntax on set tabstop= set softtabstop= set shiftwidth= set shi…