I use plugin "Buffet", and there's local-to-buffer mapping "d
" to delete buffer under cursor.
I also use plugun Surround, and there's global mapping "ds
" that means "delete surround".
So, when i press "d
" in the Buffet's window, Vim waits for a second before execute mapping "d
". I know about &timeoutlen
, but i don't want to change it. So that I want to resolve ambiguity of key mappings for "d
" in the Buffet's window to avoid timeout to d
elete a buffer.
To resolve the problem, I want to unmap in Buffet window all the mappings that start with "d
", but except Buffet's own mappings. How can i do that?
P.S. I have read about maparg()
and mapcheck()
, but they seem not to be what i need, unfortunately.