From 7d9fc403b024fa63305e41a457506820f3aaef63 Mon Sep 17 00:00:00 2001 From: Jason Hilder Date: Fri, 9 Oct 2026 07:07:53 +0200 Subject: [PATCH] Simple vis plugin add. --- config/vis/plugins/vis-commentary | 1 + config/vis/plugins/vis-paw | 1 + config/vis/visrc.lua | 5 ++++- 3 files changed, 6 insertions(+), 1 deletion(-) create mode 160000 config/vis/plugins/vis-commentary create mode 160000 config/vis/plugins/vis-paw diff --git a/config/vis/plugins/vis-commentary b/config/vis/plugins/vis-commentary new file mode 160000 index 0000000..223dcc6 --- /dev/null +++ b/config/vis/plugins/vis-commentary @@ -0,0 +1 @@ +Subproject commit 223dcc6f3f7003304d57f882607027e746fa0510 diff --git a/config/vis/plugins/vis-paw b/config/vis/plugins/vis-paw new file mode 160000 index 0000000..4feb85a --- /dev/null +++ b/config/vis/plugins/vis-paw @@ -0,0 +1 @@ +Subproject commit 4feb85ab038335594711e40d849957ba91748cdb diff --git a/config/vis/visrc.lua b/config/vis/visrc.lua index d65150e..8ed4e9b 100644 --- a/config/vis/visrc.lua +++ b/config/vis/visrc.lua @@ -1,5 +1,7 @@ require('vis') require('plugins/vis-ctags') +require("plugins/vis-commentary")() +require("plugins/vis-paw") local build = require('build') local pickers = require('pickers') @@ -57,6 +59,7 @@ vis.events.subscribe(vis.events.INIT, function() -- ctag navigation vis:map(vis.modes.NORMAL, 'gd', '', 'Go to definition (ctags picker)') + vis:map(vis.modes.NORMAL, '', '', 'Go to previous definition (ctags picker)') end) -- --------------------------------------------------------------------------- @@ -65,7 +68,7 @@ end) vis.events.subscribe(vis.events.WIN_OPEN, function(win) vis:command('set tabwidth 4') vis:command('set expandtab on') - vis:command('set number on') + -- vis:command('set number on') end) -- ---------------------------------------------------------------------------