vimrc: unused conf cleaning

This commit is contained in:
Mathieu Maret 2018-07-11 17:50:35 +02:00
parent f4e3bce321
commit 358a30c8bd

11
.vimrc
View File

@ -16,7 +16,6 @@
" F9 Open NerdTree
" M-F9 Show diff line
" S-F9 Highlight diff line
" M-F10 diff tool
" F10 folding
" S-F10 unfolding
" F11 unhighlight search
@ -343,18 +342,8 @@ imap <M-S-F1> <Esc><M-S-F1>
"""""""""
" TOOLS "
"""""""""
" show current changes with F10
command! DiffOrig
\ vert new | set bt=nofile | r # | 0d_ | diffthis | wincmd p | diffthis
\ | wincmd p | diffthis
map <M-F10> :DiffOrig<CR>
imap <M-F10> <ESC><M-F10>a
" show git diff when committing
let g:git_diff_spawn_mode = 1
if has("autocmd")
autocmd BufRead,BufNewFile COMMIT_EDITMSG setf git
endif
" zf#j creates a fold from the cursor down # lines.
"zf/string creates a fold from the cursor to string .