mirror of
https://github.com/spf13/spf13-vim.git
synced 2024-09-21 07:27:11 +00:00
Improving the status line, moving phpComplete setting to piv plugin
This commit is contained in:
parent
7ec2e1f3fd
commit
3e1585ce0d
16
.vimrc
16
.vimrc
@ -82,11 +82,15 @@
|
||||
|
||||
if has('statusline')
|
||||
set laststatus=2
|
||||
set statusline=%f%m%r%h%w\ [%{&ff}/%Y]\ [%{getcwd()}]\ [A=\%03.3b/H=\%02.2B]\ [%04l,%04v]\ [%p%%]\ [LEN=%L]
|
||||
"set laststatus=1 " show statusline only if there are > 1 windows
|
||||
" Use the commented line if fugitive isn't installed
|
||||
"set statusline=%<%f\ %=\:\b%n%y%m%r%w\ %l,%c%V\ %P " a statusline, also on steroids
|
||||
"set statusline=%<%f\ %h%m%r%{fugitive#statusline()}%=%-14.(%l,%c%V%)\ %P
|
||||
|
||||
" Broken down into easily includeable segments
|
||||
set statusline=%<%f\ " Filename
|
||||
set statusline+=%w%h%m%r " Options
|
||||
set statusline+=%{fugitive#statusline()} " Git Hotness
|
||||
set statusline+=\ [%{&ff}/%Y] " filetype
|
||||
set statusline+=\ [%{getcwd()}] " current dir
|
||||
"set statusline+=\ [A=\%03.3b/H=\%02.2B] " ASCII / Hexadecimal value of char
|
||||
set statusline+=%=%-14.(%l,%c%V%)\ %p%% " Right aligned file nav info
|
||||
endif
|
||||
|
||||
set backspace=indent,eol,start " backspace for dummys
|
||||
@ -191,7 +195,7 @@
|
||||
|
||||
" PIV {
|
||||
let g:DisableAutoPHPFolding = 0
|
||||
let cfu=phpcomplete#CompletePHP
|
||||
"let cfu=phpcomplete#CompletePHP
|
||||
" }
|
||||
|
||||
" Supertab {
|
||||
|
Loading…
Reference in New Issue
Block a user