blob: 8c6e82e16b619143ef5873a5f84225dec1854a36 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
-- 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' },
-- document missing builtins
['g'] = {
t = 'Next tab',
T = 'Previous tab',
},
}
|