Saturday, November 30, 2013

Re: Location list autocommand

Could you give an example? My requirement is very simple: I want to
bind the letter 'q' to ':lclose<cr>' for location-list and to
':cclose<cr>' do I can use 'q' to quickly close quickfix or
location-list(both have filetype qf). As I said I managed to do it for
quickfix, not for location-list


On Fri, Nov 29, 2013 at 5:55 PM, Ben Fritz <fritzophrenic@gmail.com> wrote:
> On Friday, November 29, 2013 9:59:42 AM UTC-6, Thiago de Arruda wrote:
>> Hi
>>
>>
>>
>> I have some mappings done for quickfix window like this:
>>
>>
>>
>> au! BufWinEnter quickfix nnoremap....
>>
>>
>>
>> How can I do the same for the location list window?
>
> I normally just use a WinEnter and check that the filetype is qf and then set some window-local variable so I can avoid doing it again.
>
> --
> --
> 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/groups/opt_out.

--
--
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/groups/opt_out.

No comments: