3

In the doc little is said about this number. Can we retrieve the entire arglist using this number and get all the versions of arglist?

3

Great question! The only existing use I can determine from the docs is that it allows you to find out whether a window is currently using a local arglist or the global one.

However, it looks as though it's just the first step of some more extensive changes that allow you to use the number to manipulate the lists in use.

This code has already been written (see arglists.patch in this repository) but hasn't yet been accepted into the main Vim codebase: you can see it mentioned in :help todo by searching for arglists.

  • Thanks, @Rich. Perhaps it is just in development and does not have any usage now. I used neovim and when I type :help todo, it jumps to the tag netrw-todo for netrw plugin. Very wired. – Liu Sha Aug 4 '17 at 1:50
  • Neovim is development is lead by different people from Vim development, so it makes sense not for them to use the same todo list. The Vim todo.txt is online here. (The NeoVim Roadmap is here.) – Rich Aug 4 '17 at 8:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.