noremap <buffer> D D

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