When using the :oldfiles
command, I can easily exit the list with q
.
When I use the :registers
command, it says "Press ENTER or type command to continue". But I would like to exit the list with q
, without entering into macro recording which is annoying. I don't like pressing enter
.
Is there a native Vim way to exit the register list with q
, just like the :oldfiles
"pager" does? It would be nice to have a bit of consistency.
EDIT
To display registers, I actually do :reg "0123456789
, which is a short output, so that's why Vim's "more-prompt pager" is not used (cf. :h more-prompt
). I have a lot of :oldfiles
, so that's why Vim's "more-prompt pager" is used in this case.
I want to be able to always hit q
regardless of whether the output is short. Maybe there is a way to always force the "more-prompt pager"? Or to customize mappings for output windows? Worst case scenario I could pipe the output in a scratch buffer that has a custom q
mapping, if there is no simpler solution.