> hi,
>
> i am trying to store the contents of location list, so as to use
> multiple location lists for the same split-window window.
> here is what i did. created a location list for some pattern.
> now i ran the following commands in vi.
I hope you mean Vim, and in 'nocompatible' mode. Legacy vi has no
quickfix capabilities.
>
> :let x= getloclist(0)
> :call setloclist(0, x, 'r')
>
> location-list is screwed up, i can see some contents in the location
> list
> with filename missing. is it the rightway of using get/setloclist()
> functions.
>
> thanks
>
>
Does it work if you omit the ,'r' (last argument of setloclist())?
Best regards,
Tony.
--
Do what comes naturally now. Seethe and fume and throw a tantrum.
--
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:
Post a Comment