k-takata / minpac

A minimal package manager for Vim 8+ (and Neovim)
835 stars 30 forks source link

fix(keymap): add <nowait> to avoid waiting #150

Closed rockyzhang24 closed 1 year ago

rockyzhang24 commented 1 year ago

Hi,

This PR adds <nowait> for each keymap to avoid waiting after press q or s if some keymaps starting with q or s are set globally.

For me, I set a keymap nnoremap qq <Cmd>q<CR>, nnoremap qt <Cmd>tabclose<CR>, and etc. So in the progress window or status window, when I press q to quit the window, I have to wait a while to quit. Using <nowait> to eliminate this waiting.

Thank you very much.

k-takata commented 1 year ago

Thank you.