Differences between revisions 2 and 6 (spanning 4 versions)
Revision 2 as of 2023-01-13 05:18:07
Size: 490
Comment:
Revision 6 as of 2023-01-13 05:48:33
Size: 659
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
See also [[Vim/9Script|Vim9script]], which is a re-engineered version of the language used in Vim 9+. Note that the language was re-engineered for Vim 9+. For details on the new language, see [[Vim/9Script|Vim9script]]
Line 29: Line 29:
----



== See also ==

[[https://learnvimscriptthehardway.stevelosh.com/|Learn Vimscript the Hard Way]], the definitive reference for Vimscript

Vimscript

Note that the language was re-engineered for Vim 9+. For details on the new language, see Vim9script


Example

With an interactive vim(1) session, try typing:

:echo "Hello, world!"

The leading colon (:) triggers command-line mode, which exposes traditional ex commands and the Vimscript REPL.


Language


See also

Learn Vimscript the Hard Way, the definitive reference for Vimscript


CategoryRicottone

Vim/Script (last edited 2023-01-13 05:48:33 by DominicRicottone)