From acb933d735c15d5f9d9297f9e7de8785d2bb140b Mon Sep 17 00:00:00 2001 From: Daniel McKnight Date: Fri, 13 Jun 2025 09:23:01 -0700 Subject: [PATCH] Add S-F1 shortcut to view key hints --- .config/nvim/lua/plugins/chrome.lua | 14 ++++++++++++++ .config/nvim/lua/plugins/which-key.lua | 4 ---- 2 files changed, 14 insertions(+), 4 deletions(-) delete mode 100644 .config/nvim/lua/plugins/which-key.lua diff --git a/.config/nvim/lua/plugins/chrome.lua b/.config/nvim/lua/plugins/chrome.lua index 8b1c293..085f20b 100644 --- a/.config/nvim/lua/plugins/chrome.lua +++ b/.config/nvim/lua/plugins/chrome.lua @@ -39,6 +39,20 @@ return { -- vim.g.barbar_auto_setup = false --end, }, + + { + "folke/which-key.nvim", + event = "VeryLazy", + keys = { + { + "", + function() + require("which-key").show() + end, + mode = { "n", "v", "i" }, + }, + }, + }, { "goolord/alpha-nvim", vim.keymap.set("n", "", ":BufferPrevious", { desc = "Previous Buffer" }), diff --git a/.config/nvim/lua/plugins/which-key.lua b/.config/nvim/lua/plugins/which-key.lua deleted file mode 100644 index e75cabb..0000000 --- a/.config/nvim/lua/plugins/which-key.lua +++ /dev/null @@ -1,4 +0,0 @@ -return { - "folke/which-key.nvim", - event = "VeryLazy" -}