1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
| set number
set relativenumber
set ruler
set fileencodings=utf-8,gb2312,gb18030,gbk,ucs-bom,cp936,latin1 set enc=utf8 set fencs=utf8,gbk,gb2312,gb18030
syntax enable syntax on
:highlight OverLength ctermbg=red ctermfg=white guibg=red guifg=white :match OverLength '\%101v.*'
highlight StatusLine guifg=SlateBlue guibg=Yellow highlight StatusLineNC guifg=Gray guibg=White
set wildmenu
set statusline=%F%m%r%h%w\[POS=%l,%v][%p%%]\%{strftime(\"%d/%m/%y\ -\ %H:%M\")}
set laststatus=2
set wildmenu
set tabstop=4
filetype plugin indent on
set autoindent set cindent set smartindent set shiftwidth=4
set rtp+=~/.vim/bundle/Vundle.vim call vundle#begin() Plugin 'godlygeek/tabular' Plugin 'plasticboy/vim-markdown' call vundle#end()
|