" needs editing colorscheme
" Plugin 'jeaye/color_coded'
" Check LucHermites plugins: https://github.com/LucHermitte/lh-cpp
+Plugin 'wincent/loupe'
+Plugin 'Ram-Z/vimwiki'
call vundle#end()
set ttymouse=xterm " type of mouse
" messages and info {{{2
-set showcmd " Show (partial) command in status line.
-set ruler " show the cursor position all the time
-set confirm " Ask what to do when closing unsaved documents
-set shortmess=filnxtoOI " don't show intro message
+set showcmd " Show (partial) command in status line.
+set ruler " show the cursor position all the time
+set confirm " Ask what to do when closing unsaved documents
+set shortmess= " reset option
+set shortmess+=a " all abbreviations
+set shortmess+=o " overwrite file-written message
+set shortmess+=O " file-read message overrides previous
+set shortmess+=t " truncate file message at start
+set shortmess+=T " truncate other messages in the middle
+set shortmess+=W " don't give 'written' or '[w]' when writing a file
+set shortmess+=A " ignore swapfile warning
+set shortmess+=I " no splash screen
" editing text {{{2
set backspace=indent,eol,start " allow backspacing over everything in insert mode
omap t <Plug>Sneak_t
omap T <Plug>Sneak_T
+" vimviki {{{2
+let g:vimwiki_list = [{'path': '$XDG_DATA_HOME/vimwiki'}]
+let g:vimwiki_auto_chdir = 1
+augroup myvimwiki
+ au! BufRead $XDG_DATA_HOME/vimwiki/index.wiki !git pull
+ au! BufRead $XDG_DATA_HOME/vimwiki/diary/*.wiki !git pull
+ au! BufWritePost $XDG_DATA_HOME/vimwiki/*.wiki exe '!git add "<afile>";git commit -m"' . strftime("%FT%R") . '";git push'
+augroup END
+
" functions {{{1
" Convenient command to see the difference between the current buffer and the