Sunday, April 25, 2010

Re: how you usually quiting/closing vimdiff mode?

Hello guys,

thank you so much for the answers, here is quick combos I'm going to
give a try next working days :)

nnoremap <Leader>gd :Gdiff<cr> " open vimdiff for current file and git
head (fugitive extension)
nnoremap <Leader>gD :diffoff!<cr><c-w>h:bd<cr> " switch back to
current file and closes fugitive buffer

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Subscription settings: http://groups.google.com/group/vim_use/subscribe?hl=en

No comments: