home: vim: add diagnostic navigation mappings
This commit is contained in:
parent
260f5cd66a
commit
9dc910eae3
|
@ -30,6 +30,8 @@ local keys = {
|
||||||
u = "URL encode",
|
u = "URL encode",
|
||||||
x = "XML encode",
|
x = "XML encode",
|
||||||
y = "C string encode",
|
y = "C string encode",
|
||||||
|
-- Custom
|
||||||
|
d = { vim.diagnostic.goto_prev, "Previous diagnostic" }
|
||||||
},
|
},
|
||||||
["]"] = {
|
["]"] = {
|
||||||
name = "Next",
|
name = "Next",
|
||||||
|
@ -58,6 +60,8 @@ local keys = {
|
||||||
u = "URL decode",
|
u = "URL decode",
|
||||||
x = "XML decode",
|
x = "XML decode",
|
||||||
y = "C string decode",
|
y = "C string decode",
|
||||||
|
-- Custom
|
||||||
|
d = { vim.diagnostic.goto_next, "Next diagnostic" }
|
||||||
},
|
},
|
||||||
|
|
||||||
-- Option mappings
|
-- Option mappings
|
||||||
|
|
Loading…
Reference in a new issue