Lines Matching refs:global
228 prefixed. Using the "s:" prefix is optional. To define a global function or
233 def g:ThatFunction() # global
239 is possible to define a global function by using the "g:" prefix.
245 - in the list of global functions
246 However, it is recommended to always use "g:" to refer to a global function
359 without any command. The same for global, window, tab, buffer and Vim
376 g:global = 'value'
389 Although global functions can be called without the "g:" prefix, they must
945 :g:pattern:cmd # :global command
947 To avoid confusion between a `:global` or `:substitute` command and an
1124 The same is true for commands that are not compiled, such as `:global`.
1354 You can cheat by using the global namespace explicitly. We will assume here
1363 global namespace. If a file starts with: >
1373 In Vim9 script the global "g:" namespace can still be used as before. And the
1691 Since legacy and Vim9 script will be mixed and global variables will be
1765 are global. It is possible to make them script-local, but then they are not
1772 - Instead of making everything global by default, everything is script-local,
1788 - Use the exported items and make them global. Disadvantage is that it's then
1789 not possible to avoid name clashes in the global namespace.