" Visual bindings for merging diffs as in normal mode xnoremap dp :diffput xnoremap do :diffget " Git add current file nnoremap ga :Git add %:p " Open status window nnoremap gs :Gstatus " Open diff view of current buffer: the up/left window is the current index nnoremap gd :Gdiffsplit! " Open current file log in new tab, populate its location list with history nnoremap gl :spT:Gllog --follow -- %:p " Open a buffer to the left with blame information nnoremap gb :Gblame " Commit staged changes, open a new tab just for it nnoremap gc :Gcommit -v -q