set nocompatible set backspace=indent,eol,start set history=50 set ruler set number set showcmd set showmatch set showmode set lazyredraw set hlsearch set incsearch set nobackup set writebackup set nojoinspaces set wildmenu set wildmode=longest,list set background=dark set tabstop=8 set expandtab set shiftwidth=4 set softtabstop=4 set scrolloff=5 packadd! taglist syntax on hi CursorColumn cterm=none ctermbg=blue ctermfg=none :let columns=['0', '80'] :let &cc=columns[0] nmap :!cscope -buR:cs kill -1:cs add cscope.out nmap vw:lcd %:p:h:vnew +:read\ !git\ diff\ #:set buftype=nofile:set bufhidden=delete:set noswapfile:set filetype=diffw:x nmap vw:lcd %:p:h:vnew +:read\ !svn\ diff\ #:set buftype=nofile:set bufhidden=delete:set noswapfile:set filetype=diffw:x nmap :TlistToggle nmap :Vexplore! nmap :set cursorcolumn! nmap :let &cc=columns[(index(columns, &cc) + 1) % len(columns)] nmap :set noexpandtab:set tabstop=4:set shiftwidth=4:set softtabstop=4 nmap :set expandtab:set tabstop=8:set shiftwidth=4:set softtabstop=4 nmap :set noexpandtab:set tabstop=8:set shiftwidth=8:set softtabstop=8 nmap :silent noh nmap :set nowrap!:set nowrap?