augroup custom_fugitive
  autocmd!
  autocmd VimEnter,BufEnter,CursorMoved,BufWinEnter * if !empty(maparg('dd', 'n')) |
        \ unmap <buffer> dd|
        \ unmap <buffer> dp|
        \ unmap <buffer> dv|
        \ unmap <buffer> ds|
        \ unmap <buffer> dh|
        \ unmap <buffer> s|
        \ endif
augroup END
