Closed kevinhwang91 closed 4 years ago
Yes, currently the default mappings cannot be overriden. I'll fix this tonight.
Now below should work.
function! s:setup_git_messenger_popup() abort
nunmap <buffer>d
endfunction
autocmd FileType gitmessengerpopup call <SID>setup_git_messenger_popup()
I have remapped
d
to scroll down the half-page in my workflow, but git-messenger.vim can't unmapd
inside popup.filetype event didn't work because it was triggered before mapping key inside the popup window.