Nvim: small tweaks and organizing config

This commit is contained in:
Marko Korhonen 2023-11-20 21:14:45 +02:00
parent 53a52fb737
commit 6fbba8bf3d
4 changed files with 18 additions and 12 deletions

View file

@ -5,8 +5,7 @@ return {
local gitsigns = require("gitsigns")
gitsigns.setup()
local wk = require("which-key")
wk.register({
require("which-key").register({
["["] = { h = { gitsigns.prev_hunk, "Previous hunk" } },
["]"] = { h = { gitsigns.next_hunk, "Next hunk" } },
})