mirror of
https://github.com/youwen5/neovim-flake.git
synced 2024-11-24 10:53:51 -08:00
feat: add next/previous diagnostic keymap
This commit is contained in:
parent
09d61e726a
commit
364788b99e
1 changed files with 18 additions and 0 deletions
|
@ -74,6 +74,24 @@
|
|||
desc = "Search previous and center screen, reopening folds";
|
||||
};
|
||||
}
|
||||
{
|
||||
mode = "n";
|
||||
key = "<C-k>";
|
||||
action = ":cnext<CR>zz";
|
||||
options = {
|
||||
noremap = true;
|
||||
desc = "Go to next diagnostic";
|
||||
};
|
||||
}
|
||||
{
|
||||
mode = "n";
|
||||
key = "<C-j>";
|
||||
action = ":cprev<CR>zz";
|
||||
options = {
|
||||
noremap = true;
|
||||
desc = "Go to previous diagnostic";
|
||||
};
|
||||
}
|
||||
# The greatest remap of all time -- the primeagen
|
||||
{
|
||||
mode = [
|
||||
|
|
Loading…
Reference in a new issue