Sunday, May 3, 2015

Re: reverting keymaps for location-list buffer

Dear Ben,

thank you very much for the explanation. One mystical thing less about vim =).

best wishes,
Stephan


On 4 May 2015 at 05:24, Ben Fritz <fritzophrenic@gmail.com> wrote:
On Saturday, May 2, 2015 at 3:06:10 AM UTC-5, Stephan Sahm wrote:
> an afterglow:
> is there a listing about which .vim file belongs to which standard feature? where have you known from that it is qf.vim?
>
>

Every location list or error list is a "quickfix" list, which always has filetype of "qf".

Assuming you have filetype plugins turned on, placing a file "qf.vim" in the ftplugin folder, will make that file get sourced any time a buffer's filetype is set to "qf".

Thus, to override settings or mappings for locations lists or error lists, it is easy to do this using the "qf.vim" file.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: