From 17b256c4c04931a1c8f7c85a91b3d30e575da77f Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Sat, 10 Nov 2018 00:06:14 +0800 Subject: Add basic config for vis (https://github.com/martanne/vis) --- _config/vis/visrc.lua | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 _config/vis/visrc.lua (limited to '_config/vis/visrc.lua') diff --git a/_config/vis/visrc.lua b/_config/vis/visrc.lua new file mode 100644 index 0000000..88a412e --- /dev/null +++ b/_config/vis/visrc.lua @@ -0,0 +1,17 @@ +--[[ +~/.config/vis/visrc.lua +2018-09-05 +--]] + +-- 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 base16-solarized-light') +end) + +vis.events.subscribe(vis.events.WIN_OPEN, function(win) + -- Your per window configuration options e.g. + -- vis:command('set number') +end) -- cgit v1.2.2