blob: 74bfa5148fd1b9c465b242aefb152effbc9884f0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
require('vis')
local lightyellow = '#efbf71'
local lightgray = '#9a9c8b'
local darkgray = '#1e1f1e'
-- global config
vis.events.subscribe(vis.events.INIT, function()
vis:command("set theme caelus")
end)
-- per-window config
vis.events.subscribe(vis.events.WIN_OPEN, function(win)
vis:command("set tabwidth 2")
vis:command("set numbers true")
vis:map(vis.modes.NORMAL, " fm", function()
vis:command("open .")
vis:feedkeys("<C-w>k")
vis:command("wq!")
end, "")
end)
-- plugins --
-- modal
require('plugins/modal')
-- vis-autoclose
local autoclose = require('plugins/vis-autoclose')
-- colorizer
local colorizer = require('plugins/vis-colorizer')
colorizer.three = false
colorizer.six = true
-- complete-filename
local completefilename = require('plugins/complete-filename')
-- vis-lspc
local lsp = require('plugins/vis-lspc')
|