Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

`,d` opens Gdiff for current buffer in new tab

Taken from Gary Bernhardt
  • Loading branch information...
commit a6f7ca01340707d859a7388047d3bceeec1098a4 1 parent eb2adf4
@mislav authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 vimrc
View
4 vimrc
@@ -185,6 +185,10 @@ set wildignore+=node_modules/**
" toggle between last open buffers
nnoremap <leader><leader> <c-^>
+command! GdiffInTab tabedit %|vsplit|Gdiff
+nnoremap <leader>d :GdiffInTab<cr>
+nnoremap <leader>D :tabclose<cr>
+
command! KillWhitespace :normal :%s/ *$//g<cr><c-o><cr>
" populate arglist with files from the quickfix list
Please sign in to comment.
Something went wrong with that request. Please try again.