2014-03-04 18:30:08 +01:00
|
|
|
set ts=2
|
|
|
|
set sw=2
|
|
|
|
set showcmd
|
|
|
|
set nofsync
|
|
|
|
set swapsync=
|
|
|
|
set incsearch
|
2013-02-11 14:08:07 +01:00
|
|
|
set hlsearch
|
|
|
|
set cursorline
|
|
|
|
|
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\+$/
|