vim goto next diagnostic

This commit is contained in:
Kopatz
2026-03-14 17:31:36 +01:00
parent 1a8e03e706
commit ca8f8d01c0

View File

@@ -154,6 +154,19 @@
action = "<CMD>BufferPrevious<CR>";
options.desc = "Go to the previous tab";
}
# Next/Previous diagnostic
{
mode = "n";
key = "<F2>";
action = "<CMD>lua vim.diagnostic.goto_next()<CR>";
options.desc = "Go to the next diagnostic";
}
{
mode = "n";
key = "<F3>";
action = "<CMD>lua vim.diagnostic.goto_prev()<CR>";
options.desc = "Go to the previous diagnostic";
}
# Terminal
{