Display invisible characters by default, some changes to highlighting

This commit is contained in:
Thomas Kolb 2014-03-04 18:30:08 +01:00
parent 1aa17ba1be
commit 0e5210d1d3
2 changed files with 21 additions and 34 deletions

View file

@ -1,4 +1,3 @@
colorscheme desert colorscheme evening
"highlight CursorLine guibg=#222222
highlight EndSpace guibg=#802020 highlight CursorLine guibg=#222222
match EndSpace /\s\+$/

View file

@ -1,36 +1,24 @@
" The following are commented out as they cause vim to behave a lot set ts=2
" differently from regular Vi. They are highly recommended though. set sw=2
set showcmd " Show (partial) command in status line. set showcmd
"set showmatch " Show matching brackets. set nofsync
"set ignorecase " Do case insensitive matching set swapsync=
"set smartcase " Do smart case matching set incsearch
set incsearch " Incremental search
"set autowrite " Automatically save before commands like :next and :make
"set hidden " Hide buffers when they are abandoned
set mouse=a " Enable mouse usage (all modes)
set hlsearch set hlsearch
set tabstop=2
set shiftwidth=2
imap <C-F> <C-X><C-F>
imap <C-O> <C-X><C-O>
" settings for LaTeX-Suite
set grepprg=grep\ -nH\ $*
let g:tex_flavor='latex'
set cursorline set cursorline
set printdevice=CanoniP4300 " Set up visible whitespace by default
set printoptions=paper:A4,syntax:y set list
set listchars=tab:»-,trail:~,extends:>,precedes:<
set modeline highlight NonText guifg=#808080 ctermfg=DarkGray
highlight SpecialKey guifg=#808080 ctermfg=DarkGray
" re-use tabs, open hidden buffers in new tabs
set switchbuf=usetab,newtab
" filetype dependent indentation
filetype plugin on filetype plugin on
filetype indent on if has("autocmd")
filetype plugin indent on
endif
colorscheme koehler " Alternative for listchars above to highlight trailing spaces
"highlight EndSpace guibg=#ff8080
"match EndSpace /\s\+$/