May 24, 2024

Vimscript

If you have a .vimrc, you have already been introduced to VimScript.

There is a thing called "NeoVim". I have no experience with it, but it is my understanding that the main thing that differentiates it from regular Vim is that it has incorporated Lua as a scripting language in lieu of VimScript. It could be worse. The could have incorporated Tcl instead. That would have been the worst of all possible decisions.

Be all that as it may, the aim here is to learn VimScript.

The above is widely recommended. I suppose the title is sort of a response to the insulting "dummies" book titles. I am not a dummy. I just have not had the need or interest in learning whatever it is you want to insult me about and then offer to teach me. So, I thumb my nose in your general direction and appreciate a tutorial like this.

Note!! As of Vim 9, you may be dealing with vim9script. The story is that the original vimscript is used unless a file has a explicit declaration to activate the 9script features.


Have any comments? Questions? Drop me a line!

Tom's vim pages / tom@mmto.org