I'd like to map
:cclose in the quickfix window, but I wonder if I'd be locking myself out of a world of wonderful macros by doing so.
Are there realistic scenarios where you'd want to be able to start recording a macro from the quickfix window? The only one I can think of is:
- open the current error
- do something
- return to the quickfix window
- move down to the next error
But I think it would be more convenient to open the current error, start the macro from that buffer, do something, and use
:cnext to move to the next error. That way you don't have to jump back and forth between windows.
Is there a more compelling use-case for preserving the default
q keybinding in the quickfix window?