" Visual bindings for merging diffs as in normal mode xnoremap dp :diffput xnoremap do :diffget " 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