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?
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
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
netrwplugin. Very wired.– doraemonAug 4, 2017 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.)– RichAug 4, 2017 at 8:52