configs/vim/vimrc.local

30 lines
570 B
Plaintext

set ts=4
set sw=4
set showcmd
set nofsync
set incsearch
set hlsearch
set cursorline
if !has('nvim')
set swapsync=
endif
" Set up visible whitespace by default
set list
set listchars=tab:»-,trail:~,extends:>,precedes:<
highlight NonText guifg=#808080 ctermfg=DarkGray
highlight SpecialKey guifg=#808080 ctermfg=DarkGray
" filetype dependent indentation
filetype plugin on
if has("autocmd")
filetype plugin indent on
endif
" Alternative for listchars above to highlight trailing spaces
"highlight EndSpace guibg=#ff8080
"match EndSpace /\s\+$/
set background=dark