Make the 'q' map actually :quit#255
Conversation
`:cclose` and `:lclose` will refuse to close the quickfix window if it's the last window. `:q` doesn't care.
|
This seems reasonable, although I imagine there will be some people who will prefer that it does not quit Vim so easily… I'd definitely not like to solve that by adding a configuration option, I'd rather it be doable easily by normal means of Vim mappings customization as was your first instinct. I agree that there are a host of problems with the way the quickfix mappings are handled, in fact see #170 for my sense that they shouldn't be a feature of this plugin at all anymore. If the Vim plugin ecosystem and plugin managers had common version number conventions to make a major release in Semantic Versioning terms, I'd probably remove it now. How about we go one of two directions:
Apologies for the slow response to this issue and any others—I've been the last standing maintainer but I've not had time to give attention to ack.vim for awhile. |
|
@ches Thanks for the detailed and considerate response. I'll investigate using I'll note post-investigation that some of the mappings seem like feature-creep (heck, I never use them), so I agree in spirit with your comments in #170 and above—it would be a pitchfork moment, though. |
|
@ches Are these PRs dead in the water? Is help needed? |
|
I'm closing this because #260 was supposed to supersede it, but I also don't use the plugin anymore. |
:ccloseand:lclosewill refuse to close the quickfix window if it's thelast window.
:qdoesn't care.I'll also note that I discovered this because
Ackwas overriding maps I had set up in~/.vim/after/ftplugin/qf.vim, which doesn't seem like a good idea. I think we could fix that with ahasmaptocheck or the<unique>modifier. Please let me know if I should open an issue for this.