Browse Source

deal with statusline

remotes/origin/master
Ein Verne 10 years ago
parent
commit
76be1a28ac
  1. 12
      _vimrc
  2. 3
      vundle_vimrc

12
_vimrc

@ -109,6 +109,7 @@ endif
set nobomb "不自动设置字节序标记 set nobomb "不自动设置字节序标记
set guifont=Courier\ New\:h12 set guifont=Courier\ New\:h12
" set guifont=Droid\ Sans\ Mono\ for\ Powerline\:h12
set guifontwide=NSimsun\:h12 set guifontwide=NSimsun\:h12
@ -178,7 +179,6 @@ set statusline+=\ %P
" Plugin settings " Plugin settings
" NERDTree " NERDTree
map <F2> :NERDTreeToggle<cr> map <F2> :NERDTreeToggle<cr>
@ -196,6 +196,16 @@ let g:indent_guides_enable_on_vim_startup = 1
let g:jedi#completions_command = "<C-N>" let g:jedi#completions_command = "<C-N>"
let g:jedi#popup_on_dot = 0 let g:jedi#popup_on_dot = 0
" powerline
" hide the default mode text (e.g. -- INSERT -- below the statusline)
" set t_Co=256
" let g:Powerline_symbols='fancy'
" general mapping
" no <up> ddkP
" no <down> ddp
" Delete trailing white space on save, useful for Python and CoffeeScript ;) " Delete trailing white space on save, useful for Python and CoffeeScript ;)
func! DeleteTrailingWS() func! DeleteTrailingWS()
exe "normal mz" exe "normal mz"

3
vundle_vimrc

@ -28,6 +28,9 @@ Plugin 'ervandew/supertab'
Plugin 'Raimondi/delimitMate' Plugin 'Raimondi/delimitMate'
"show tabs "show tabs
Plugin 'nathanaelkane/vim-indent-guides' Plugin 'nathanaelkane/vim-indent-guides'
" Plugin 'powerline/powerline', {'rtp': 'powerline/bindings/vim/'}
" Plugin 'Lokaltog/vim-powerline'
" Plugin 'bling/vim-airline'
" plugin from http://vim-scripts.org/vim/scripts.html " plugin from http://vim-scripts.org/vim/scripts.html
Plugin 'L9' Plugin 'L9'

Loading…
Cancel
Save