about summary refs log tree commit diff stats
path: root/config/vis/visrc.lua
blob: d153cabf06b721fc566529d3232f73e09b3a49dd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
-- load standard vis module, providing parts of the Lua API
require('vis')

vis.events.subscribe(vis.events.INIT, function()
	-- Your global configuration options
	vis:command('set theme causalagency')
end)

vis.events.subscribe(vis.events.WIN_OPEN, function(win)
	-- Your per window configuration options e.g.
	vis:command('set cul')
	vis:command('set nu')
	vis:command('set ai')
end)