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

vis.events.subscribe(vis.events.INIT, function()
	-- Your global configuration options
	vis:command('set theme causalagency')
	vis:command('map insert <M-Escape> <Escape>')
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)