keine plugins und keine host-spezifische vimrcs...

This commit is contained in:
Julian Scharrenbach 2019-02-14 16:18:02 +01:00
parent 8c3b40303f
commit 33a5f1d341

9
.vimrc
View File

@ -2,6 +2,7 @@
" File .vimrc
" jul.io
"------------------------------------------------------------------------------
"
"set nocompatible " use vim defaults
syntax on " use syntax highlighting
set background=dark " when using black background terminal
@ -44,6 +45,7 @@ set ruler " show the cursor position all the time
set directory=~/.vim/swap/
set lazyredraw "to speed up vim a bit
set regexpengine=1
" show current file with complete file in statusline
set laststatus=2
@ -174,10 +176,3 @@ set statusline+=\ %p%%
set statusline+=\ %l:%c
set statusline+=\
" if there is a host-specific vimrc, load it (.vimrc_hostname)
let s:host_vimrc = $HOME . '.vimrc' . '_' . hostname()
if filereadable(s:host_vimrc)
execute 'source ' . s:host_vimrc
endif