.
This commit is contained in:
parent
856e135e63
commit
16c7b23408
7 changed files with 63 additions and 8 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue