Skip to content

Commit

Permalink
nvim/keymaps: add next/prev diagnostic mappings
Browse files Browse the repository at this point in the history
  • Loading branch information
MattSturgeon committed Nov 3, 2024
1 parent 3032aa2 commit 7b7fc1c
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions nvim/config/keymaps.nix
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,20 @@
options.desc = "Inline function";
}

# Errors/diagnostics
{
mode = "n";
key = "ge";
action.__raw = "vim.diagnostic.goto_next";
options.desc = "Goto next diagnostic";
}
{
mode = "n";
key = "gE";
action.__raw = "vim.diagnostic.goto_prev";
options.desc = "Goto previous diagnostic";
}

{
mode = "n";
key = "<leader>ff";
Expand Down

0 comments on commit 7b7fc1c

Please sign in to comment.