2020-04-15 17:22:55 +02:00
|
|
|
set ts=4
|
|
|
|
set sw=4
|
2014-03-04 18:30:08 +01:00
|
|
|
set showcmd
|
|
|
|
set nofsync
|
|
|
|
set incsearch
|
2013-02-11 14:08:07 +01:00
|
|
|
set hlsearch
|
|
|
|
set cursorline
|
|
|
|
|
2020-04-15 17:22:55 +02:00
|
|
|
if !has('nvim')
|
|
|
|
set swapsync=
|
|
|
|
endif
|
|
|
|
|
2014-03-04 18:30:08 +01:00
|
|
|
" 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
|
2013-10-08 23:04:42 +02:00
|
|
|
|
2014-03-04 18:30:08 +01:00
|
|
|
" filetype dependent indentation
|
2013-02-11 14:08:07 +01:00
|
|
|
filetype plugin on
|
2014-03-04 18:30:08 +01:00
|
|
|
if has("autocmd")
|
|
|
|
filetype plugin indent on
|
|
|
|
endif
|
2013-02-11 14:08:07 +01:00
|
|
|
|
2014-03-04 18:30:08 +01:00
|
|
|
" Alternative for listchars above to highlight trailing spaces
|
|
|
|
"highlight EndSpace guibg=#ff8080
|
|
|
|
"match EndSpace /\s\+$/
|
2017-03-19 22:46:31 +01:00
|
|
|
|
|
|
|
set background=dark
|