Thursday, September 29, 2011

Re: creating a new location list

On 09:18 Thu 29 Sep , sinbad wrote:
> On Sep 29, 10:48 am, sinbad <sinbad.sin...@gmail.com> wrote:
> > hi,
> >
> > i know that we can have multiple location lists for a window.
> > i read through the documentation but couldn't find the command
> > or function that creates a new location list. lexpr doesn't take
> > window
> > nr as argument. so i was wondering how can i create a new location
> > list.
> > every time i use lexpr, the old location list will be rewritten. i am
> > missing some
> > thing here ?
> >
> > thanks
> > sinbad
>
> can anyone please shed some light on this ?
>
> --
> 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

I think you can have just one loction list per window, though it is easy to
save and restore location lists using getloclist() and setloclist()
functions.

Best,
Marcin

--
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

No comments: