aboutsummaryrefslogtreecommitdiff
path: root/lua/visrc.lua
blob: 1a304b43af1a965431cb22f623954edef2fe9b44 (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')
require('plugins/filetype')
require('plugins/textobject-lexer')

vis.events.subscribe(vis.events.START, function()
	-- Your global configuration options e.g.
	-- vis:command('map! normal j gj')
end)

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