summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/vis/visrc.lua13
-rwxr-xr-xsetup.sh1
2 files changed, 14 insertions, 0 deletions
diff --git a/config/vis/visrc.lua b/config/vis/visrc.lua
new file mode 100644
index 0000000..50b12bd
--- /dev/null
+++ b/config/vis/visrc.lua
@@ -0,0 +1,13 @@
+-- load standard vis module, providing parts of the Lua API
+require('vis')
+
+vis.events.subscribe(vis.events.INIT, function()
+ -- Your global configuration options
+end)
+
+vis.events.subscribe(vis.events.WIN_OPEN, function(win) -- luacheck: no unused args
+ -- Your per window configuration options e.g.
+ vis:command('set nu')
+ vis:command('set tw 4')
+ vis:command('set et')
+end)
diff --git a/setup.sh b/setup.sh
index 48cc435..cbe8992 100755
--- a/setup.sh
+++ b/setup.sh
@@ -30,6 +30,7 @@ if confirm "Check and install symlinks?"; then
ln -s ${here}config/tmux.conf ${there}.tmux.conf
ln -s ${here}config/xserverrc ${there}.xserverrc
ln -s ${here}config/Xdefaults ${there}.Xdefaults
+ ln -s ${here}config/vis ${there}.config/vis
ln -s ${here}config/alacritty ${there}.config/alacritty
ln -s ${here}config/qutebrowser ${there}.config/qutebrowser
ln -s ${here}config/fbterm/fbtermrc ${there}.config/fbtermrc