vim-quickrun icon indicating copy to clipboard operation
vim-quickrun copied to clipboard

Mapping to quit QuickRun buffer

Open domi91c opened this issue 9 years ago • 4 comments

Is there a way that I can map a key to close the QuickRun output buffer ?

domi91c avatar Dec 13 '16 06:12 domi91c

Bump?

domi91c avatar Dec 20 '16 03:12 domi91c

Simply q already closes it for me. Your request is about customizing that?

oblitum avatar Jan 28 '17 09:01 oblitum

Well, you have to first change windows and then press q. The original poster was probably asking for help on how to streamline that.

windowsrefund avatar Oct 09 '19 05:10 windowsrefund

This command enables you to close the quickrun output by \q (no matter which buffer you are in).

nnoremap <Leader>q :<C-u>bw! quickrun\ output<CR>

And FYI, this may also be helpful. You can force-quit quickrun by \Q.

nnoremap <Leader>Q :call quickrun#sweep_sessions()<CR>:<C-u>bw! quickrun\ output<CR>

ghost avatar Sep 29 '20 11:09 ghost