# cat ~/.vimrcset nocompatiblefiletype indent onfiletype plugin onset Tabstop=4set shiftwidth=4set autoindentset cindentset smartindentset hlsearchsyntax enableset dict=/usr/share/dict/wordsif has (' Statusline ') set laststatus=2 "Broken down into easily includeable segments set statusline=%<%f\ " Filename set statusline+=%w%h%m%r " options set statusline+=\ [%{&ff}/%y] " filetype " ascii/hexadecimal value of under current cursor set statusline+=\ [ASCII=\%03.3b/HEX=\%02.2B] "right aligned file nav info set statusline+=%=%-14. (%l,%c%v%) \ %p%%endif
The effect is:
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/71/79/wKioL1XRrXXR7ZVNAAFr9y031T8774.jpg "title=" Vimrc.png "alt=" Wkiol1xrrxxr7zvnaafr9y031t8774.jpg "/>
This article is from the "Tiandaochouqin" blog, make sure to keep this source http://lavenliu.blog.51cto.com/5060944/1685327
Vim configuration file