From 16ef6ff851a69c04ba92d2c6a78de63a973b479c Mon Sep 17 00:00:00 2001 From: Graham McMillan <30657475+gmcmillan82@users.noreply.github.com> Date: Tue, 16 Jul 2024 10:50:38 +0200 Subject: [PATCH] Add some options to which-key --- init.lua | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/init.lua b/init.lua index de8e602e..372bf593 100644 --- a/init.lua +++ b/init.lua @@ -280,7 +280,19 @@ require('lazy').setup({ 'folke/which-key.nvim', event = 'VimEnter', -- Sets the loading event to 'VimEnter' config = function() -- This is the function that runs, AFTER loading - require('which-key').setup() + require('which-key').setup { + plugins = { + marks = true, + registers = true, + + presets = { + operators = true, + motions = true, + windows = true, + nav = true, + }, + }, + } local wk = require 'which-key' wk.add {