From d42d58a45df97769fc97b122cd837616864980a5 Mon Sep 17 00:00:00 2001 From: ViViDboarder Date: Fri, 10 Dec 2021 16:54:37 -0800 Subject: [PATCH] Add whichkey --- neovim/lua/plugins.lua | 6 ++++++ neovim/lua/plugins/whichkey.lua | 11 +++++++++++ 2 files changed, 17 insertions(+) create mode 100644 neovim/lua/plugins/whichkey.lua diff --git a/neovim/lua/plugins.lua b/neovim/lua/plugins.lua index c542b7a..079f1e9 100644 --- a/neovim/lua/plugins.lua +++ b/neovim/lua/plugins.lua @@ -72,6 +72,12 @@ return require('packer').startup(function(use) -- Auto ctags generation use "ludovicchabant/vim-gutentags" + -- Make it easier to discover some of my keymaps + use { + "folke/which-key.nvim", + config = function() require("plugins.whichkey").configure() end + } + -- Better commenting use { "tomtom/tcomment_vim", diff --git a/neovim/lua/plugins/whichkey.lua b/neovim/lua/plugins/whichkey.lua new file mode 100644 index 0000000..5a20693 --- /dev/null +++ b/neovim/lua/plugins/whichkey.lua @@ -0,0 +1,11 @@ +local M = {} + +function M.configure() + require("which-key").setup { + -- your configuration comes here + -- or leave it empty to use the default settings + -- refer to the configuration section below + } +end + +return M