nnoremap <F7> :GundoToggle<CR>
" fugitive {{{2
nmap <silent> <leader>dd :tab split \| Gdiff \| wincmd h<CR>
+" delete fugitive buffers when closed
+autocmd BufReadPost fugitive://* set bufhidden=delete
" NERDTree {{{2
" open/close NERDTree with \e
let g:Tex_DefaultTargetFormat='pdf'
" functions {{{1
+" auto source vimrc when saved
+autocmd bufwritepost vimrc source $MYVIMRC
+nmap <leader>v :tabedit $MYVIMRC<CR>
+
" Convenient command to see the difference between the current buffer and the
" file it was loaded from, thus the changes you made.
" Only define it when not defined already.