Nvim: small tweaks and organizing config

This commit is contained in:
Marko Korhonen 2023-11-20 21:14:45 +02:00
parent fc50b07d4e
commit 9c2f5dee4c
Signed by: FunctionalHacker
GPG key ID: A7F78BCB859CD890
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" } },
})