|
|
@ -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" |
|
|
|