vis

a vi-like editor based on Plan 9's structural regular expressions

git clone https://9o.is/git/vis.git

visrc.lua

(335B)


      1 -- load standard vis module, providing parts of the Lua API
      2 require('vis')
      3 
      4 vis.events.subscribe(vis.events.INIT, function()
      5 	-- Your global configuration options
      6 end)
      7 
      8 vis.events.subscribe(vis.events.WIN_OPEN, function(win) -- luacheck: no unused args
      9 	-- Your per window configuration options e.g.
     10 	-- vis:command('set number')
     11 end)