On Thu, 24 Feb 2011, ZyX wrote:

I recently found that there exists `g:' (without any text after `:') variable which is a dictionary that holds all other global variables, same for `b:', `t:' and `w:' variables. Can anybody point me in which help topic they are described?

By the way, the following hack works:
   let g:["000"]="test"
   echo g:000

Described at the fourth-or-so paragraph of:

:help internal-variables

"The scope name by itself can be used as a Dictionary."
(followed by a very small example)

--
Best,
Ben

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

Reply via email to