summaryrefslogtreecommitdiffstats
path: root/.config/nvim/lua/plugs-config/whichkey.lua
diff options
context:
space:
mode:
authorJoe <rrbo@proton.me>2023-09-05 18:28:27 +0200
committerJoe <rrbo@proton.me>2023-09-05 18:28:27 +0200
commit97f4424d75c3cf68ff663334c71566a09decd464 (patch)
tree31213885b8531a3740eb0d016536d114fd9c7491 /.config/nvim/lua/plugs-config/whichkey.lua
parentupupuppu (diff)
downloaddotfiles-bsd-97f4424d75c3cf68ff663334c71566a09decd464.tar.gz
dotfiles-bsd-97f4424d75c3cf68ff663334c71566a09decd464.tar.bz2
dotfiles-bsd-97f4424d75c3cf68ff663334c71566a09decd464.tar.xz
dotfiles-bsd-97f4424d75c3cf68ff663334c71566a09decd464.tar.zst
dotfiles-bsd-97f4424d75c3cf68ff663334c71566a09decd464.zip
up
Diffstat (limited to '.config/nvim/lua/plugs-config/whichkey.lua')
-rw-r--r--.config/nvim/lua/plugs-config/whichkey.lua16
1 files changed, 16 insertions, 0 deletions
diff --git a/.config/nvim/lua/plugs-config/whichkey.lua b/.config/nvim/lua/plugs-config/whichkey.lua
index f81b879..9529229 100644
--- a/.config/nvim/lua/plugs-config/whichkey.lua
+++ b/.config/nvim/lua/plugs-config/whichkey.lua
@@ -1,3 +1,4 @@
+
local wk = require("which-key")
wk.register({
b = { ':Buffers<CR>', 'buffers', noremap = true, silent = true },
@@ -25,3 +26,18 @@ wk.register({
r = { ':Rg<CR>', 'ripgrep', noremap = true, silent = true },
},
}, { prefix = '<leader>', })
+wk.setup({
+ plugins = {
+ presets = {
+ operators = false,
+ motions = false,
+ text_objects = false,
+ window = false,
+ nav = false,
+ z = false,
+ g = false
+ },
+ },
+ triggers = { "<leader>" },
+ triggers_nowait = { "d" },
+})