The autoload command can be used to execute code depending on a range of events and filetypes.
When I list the active buffers, the buffer hosting the quickfix window has what seems to be a unique first and last char in the %a-
tag... Not to mention, has the name "[Quickfix List]".
The task: I want to set a key binding that applies only to a quickfix window. I can accomplish the task based on the filetype.
The question: What is a robust approach to accomplish the same for a buffer in a quickfix window? i.e., have key bindings that only apply to the quickfix window.
Thank you in advance to anyone with ideas on how to proceed.
- E
qf
– Luc Hermitte Nov 17 '20 at 18:07:set filetype?
to query the currentfiletype
, or indeed any option. – user32264 Nov 17 '20 at 20:52