nvim: Add which-key.nvim key chord visualization

Finally added a which-key like extension.
This one is a lua implementation of the old Emacs idea, but comes with
pretty sane defaults and seems less difficult to set up.

So much so that, even out of the box, it seems somewhat useful by
containing explanations of default vim bindings and showing the target
for all mark jumps. (e.g. `g`` or `g'`).
This commit is contained in:
Marty Oehme 2022-01-04 22:09:22 +01:00
parent 8e6bd03576
commit a322799f39
Signed by: Marty
GPG key ID: B7538B8F50A1C800

View file

@ -150,6 +150,10 @@ require("packer").startup(function()
event = "BufWinEnter", event = "BufWinEnter",
config = function() require('plug._toggleterm') end config = function() require('plug._toggleterm') end
} }
use {
"folke/which-key.nvim",
config = function() require("which-key").setup {} end
}
-- fuzzy matching -- fuzzy matching
use { use {