Add whichkey
This commit is contained in:
parent
3490deeb18
commit
d42d58a45d
|
@ -72,6 +72,12 @@ return require('packer').startup(function(use)
|
||||||
-- Auto ctags generation
|
-- Auto ctags generation
|
||||||
use "ludovicchabant/vim-gutentags"
|
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
|
-- Better commenting
|
||||||
use {
|
use {
|
||||||
"tomtom/tcomment_vim",
|
"tomtom/tcomment_vim",
|
||||||
|
|
|
@ -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
|
Loading…
Reference in New Issue