This commit is contained in:
kento2 2026-07-30 15:47:38 +02:00
parent 856e135e63
commit 16c7b23408
7 changed files with 63 additions and 8 deletions

View file

@ -15,7 +15,8 @@ local plugins = {
plug.init(plugins, true)
vis.events.subscribe(vis.events.INIT, function()
vis:command("set theme kento2")
--vis:command("set theme kento2")
vis:command("set theme plain2")
vis.options.autoindent = true
vis.options.breakat = " "
@ -62,20 +63,25 @@ vis.events.subscribe(vis.events.INIT, function()
vis:map(vis.modes.VISUAL, ' g', function()
vis:command("grep")
vis:redraw()
end)
vis:map(vis.modes.NORMAL, ' f', function()
vis:command("!make; read a")
vis:redraw()
end)
vis:map(vis.modes.NORMAL, 'mm', function()
vis:command("!make; read a")
vis:redraw()
end)
vis:map(vis.modes.NORMAL, 'mc', function()
vis:command("!make check; read a")
vis:redraw()
end)
vis:map(vis.modes.NORMAL, 'mt', function()
vis:command("!make test; read a")
vis:redraw()
end)
end)