From 91c922a2ec8070128704a27e9f8b3a4a1482b18c Mon Sep 17 00:00:00 2001 From: Yorick Barbanneau Date: Tue, 17 Sep 2024 23:44:24 +0200 Subject: [PATCH] feat(neovim): improve which-key display --- modules/home-manager/cli/neovim/files/whichkey.lua | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/modules/home-manager/cli/neovim/files/whichkey.lua b/modules/home-manager/cli/neovim/files/whichkey.lua index a3cf600..0fdd5b8 100644 --- a/modules/home-manager/cli/neovim/files/whichkey.lua +++ b/modules/home-manager/cli/neovim/files/whichkey.lua @@ -1,4 +1,10 @@ -- Which-key -- local wk = require 'which-key' --- wk.register() +wk.add({ + {'n', group = 'NeoTree'}, + {'f', group = 'fzf-lua'}, + {'fg', group = 'fzf-lua Git'}, + {'fG', group = 'fzf-lua Grep'}, + {'g', group = 'Gitsign'}, +})