mirror of
https://github.com/jdhao/nvim-config.git
synced 2025-06-08 14:14:33 +02:00
add which-key.nvim
This commit is contained in:
parent
c0f59bde8d
commit
96898255a0
8
lua/config/which-key.lua
Normal file
8
lua/config/which-key.lua
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
require("which-key").setup{
|
||||||
|
triggers_blacklist = {
|
||||||
|
-- list of mode / prefixes that should never be hooked by WhichKey
|
||||||
|
-- this is mostly relevant for key maps that start with a native binding
|
||||||
|
-- most people should not need to change this
|
||||||
|
n = { "o", },
|
||||||
|
},
|
||||||
|
}
|
||||||
@ -298,6 +298,9 @@ require("packer").startup({
|
|||||||
|
|
||||||
-- The missing auto-completion for cmdline!
|
-- The missing auto-completion for cmdline!
|
||||||
use("gelguy/wilder.nvim")
|
use("gelguy/wilder.nvim")
|
||||||
|
|
||||||
|
-- showing keybindings
|
||||||
|
use {"folke/which-key.nvim", config = [[require('config.which-key')]]}
|
||||||
end,
|
end,
|
||||||
config = {
|
config = {
|
||||||
max_jobs = 16,
|
max_jobs = 16,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user