blob: 01b83b01fa29459de6d172b67156055edf5fb3c5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
for _, v in ipairs {
'builtins',
'plugins',
} do
require ('bindings.' .. v)
end
-- general bindings that aren't specific to a plugin
require 'which-key'.register {
-- diagnostics
['<leader>'] = {
e = { vim.diagnostic.open_float, 'diag float' },
q = { vim.diagnostic.setloclist, 'diag locations' },
},
['[d'] = { vim.diagnostic.goto_prev, 'prev diag' },
[']d'] = { vim.diagnostic.goto_next, 'next diag' },
}
|