Extending Vim with Scripting

Analysis
Nov 14, 20111 min

Vim is a great text editor – but Vimscript makes it even better. Vimscript, Vim’s built-in scripting language, allows you to extend Vim however you want. You can write your own commands and functions to fit what you most often want to do, so that over time, you can make Vim exactly the editor that you want it to be. The DIY syntax highlighting I wrote about recently is a form of Vimscript, but in this piece I’m going to look at scripting more generally.