Vim is scriptable with TCL: https://vimhelp.org/if_tcl.txt.html