.
This commit is contained in:
parent
c373245cbc
commit
55686316aa
5 changed files with 17 additions and 1 deletions
|
|
@ -3,6 +3,15 @@ require("vis")
|
|||
vis.events.subscribe(vis.events.INIT, function()
|
||||
vis:command("set theme kento2")
|
||||
|
||||
vis.options.autoindent = true
|
||||
vis.options.breakat = " "
|
||||
|
||||
vis:map(vis.modes.NORMAL, 'h', 'gh')
|
||||
vis:map(vis.modes.NORMAL, 'j', 'gj')
|
||||
vis:map(vis.modes.NORMAL, 'k', 'gk')
|
||||
vis:map(vis.modes.NORMAL, 'l', 'gl')
|
||||
vis:map(vis.modes.NORMAL, '0', 'g0')
|
||||
|
||||
vis:command("map! normal n <vis-motion-search-repeat>")
|
||||
vis:map(vis.modes.VISUAL, ' y', '"+y')
|
||||
vis:map(vis.modes.VISUAL, ' p', '"+p')
|
||||
|
|
@ -13,3 +22,8 @@ vis.events.subscribe(vis.events.INIT, function()
|
|||
vis:map(vis.modes.NORMAL, ' d', '"+d')
|
||||
vis:map(vis.modes.NORMAL, ' x', '"+x')
|
||||
end)
|
||||
|
||||
vis.events.subscribe(vis.events.WIN_OPEN, function(win)
|
||||
win.options.tabwidth = 3
|
||||
win.options.wrapcolumn = 80
|
||||
end)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue