summaryrefslogtreecommitdiff
path: root/lua/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'lua/plugins')
-rw-r--r--lua/plugins/init.lua2
-rw-r--r--lua/plugins/which-key.lua9
2 files changed, 9 insertions, 2 deletions
diff --git a/lua/plugins/init.lua b/lua/plugins/init.lua
index c0cf279..47427b0 100644
--- a/lua/plugins/init.lua
+++ b/lua/plugins/init.lua
@@ -5,8 +5,6 @@ return {
-- Detect tabstop and shiftwidth automatically
-- luevano: not sure how I feel about this, need to check later
'tpope/vim-sleuth',
- -- Useful plugin to show you pending keybinds.
- { 'folke/which-key.nvim', opts = {} },
-- "gc" to comment visual regions/lines
{ 'numToStr/Comment.nvim', opts = {} },
-- required for nvim-qt on windows
diff --git a/lua/plugins/which-key.lua b/lua/plugins/which-key.lua
new file mode 100644
index 0000000..0947703
--- /dev/null
+++ b/lua/plugins/which-key.lua
@@ -0,0 +1,9 @@
+return {
+ 'folke/which-key.nvim',
+ event = "VeryLazy",
+ init = function()
+ vim.o.timeout = true
+ vim.o.timeoutlen = 300
+ end,
+ opts = {}
+}