Vim 7.3 with Lua: How do I use it?
11,470
So Vim 7.3 is new enough that there isn't much information about the Lua integration. However, vim has had similar support for python, ruby, perl, and tcl. So:
As well as example tutorials for the other languages, you should definitely read the vim help for Lua, do
:h lua
to see comprehensive help and some examples. Have fun!
Related videos on Youtube
Author by
polemon
Updated on September 17, 2022Comments
-
polemon over 1 year
The latest Vim release is awesome!
I compiled it with
--enable-luainterp=yes
and it does have the Lua feature:% gvim --version | egrep '\+lua' +linebreak +lispindent +listcmds +localmap +lua +menu +mksession +modify_fname
But how do I actually use it? Up until now, I was always using Vim script for my files, but how do I let it interpret Lua? And what are the bindings that I can use from inside Lua?
-
Admin over 13 yearsI'm assuming you mean vim 7.3?
-
Admin over 13 yearsOf course, silly me...
-
-
polemon over 13 yearsYup, there's not much info about Lua scripting out there, but I can transfer from the Python guides.