vim 插件 下令

vim 插件 命令

NERD_tree

 

http://ethanschoonover.com/solarized

simple vimrc:

 

 

 

set background=light

let g:solarized_italic=0

colorscheme solarized

set nu

set autoindent

set backup " make backup file and leave it around 

set backupdir=$VIMRUNTIME/backup " where to put backup file 

set directory=$VIMRUNTIME/temp " where to put swap file 

set hidden

set fileencodings=ucs-bom,utf-8,cp936

 

 

map <F5> : NERDTreeToggle <ENTER>

map <F3> :bp <ENTER>

map <F4> :bn <ENTER>



shift-V 
ctrl-w ctrl-w
ctrl-i ctrl-o

:runtime! syntax/2html.vim 

 :cd %:p:h