mirror of
https://github.com/NaomiAmethyst/dots.git
synced 2025-08-05 16:48:38 +00:00
only try title/statusline stuff if we can
This commit is contained in:
parent
606c414e1f
commit
9ba9ac55be
1 changed files with 7 additions and 3 deletions
10
vimrc
10
vimrc
|
@ -97,11 +97,15 @@ if (v:version >= 700)
|
||||||
imap <silent> <F10> <C-O>:silent set spell!<CR>
|
imap <silent> <F10> <C-O>:silent set spell!<CR>
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" Always display a pretty statusline
|
" Display a pretty statusline if we can
|
||||||
set title
|
if has('title')
|
||||||
|
set title
|
||||||
|
endif
|
||||||
set laststatus=2
|
set laststatus=2
|
||||||
set shortmess=atI
|
set shortmess=atI
|
||||||
set statusline=Editing:\ %r%t%m\ %=Location:\ Line\ %l/%L\ \ Col:\ %c\ (%p%%)
|
if has('statusline')
|
||||||
|
set statusline=Editing:\ %r%t%m\ %=Location:\ Line\ %l/%L\ \ Col:\ %c\ (%p%%)
|
||||||
|
endif
|
||||||
|
|
||||||
" Enable modelines only on secure vim
|
" Enable modelines only on secure vim
|
||||||
if (v:version == 603 && has("patch045")) || (v:version > 603)
|
if (v:version == 603 && has("patch045")) || (v:version > 603)
|
||||||
|
|
Loading…
Add table
Reference in a new issue