.
This commit is contained in:
parent
dc6995c0e1
commit
4055fbfe86
16 changed files with 35 additions and 675 deletions
|
|
@ -1,13 +1,23 @@
|
|||
require("vis")
|
||||
require("plugins/vis-ctags")
|
||||
require("plugins/vis-sneak")
|
||||
|
||||
local plug = (function() if not pcall(require, 'plugins/vis-plug') then
|
||||
os.execute('git clone --quiet https://github.com/erf/vis-plug ' ..
|
||||
(os.getenv('XDG_CONFIG_HOME') or os.getenv('HOME') .. '/.config')
|
||||
.. '/vis/plugins/vis-plug')
|
||||
end return require('plugins/vis-plug') end)()
|
||||
|
||||
local plugins = {
|
||||
{ 'erf/vis-sneak' },
|
||||
{ 'kupospelov/vis-ctags' },
|
||||
}
|
||||
plug.init(plugins, true)
|
||||
|
||||
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')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue