From d2be1c87950a856bf6359aed88ddb02a4bdfd4cc Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Fri, 9 May 2025 22:08:21 +0200 Subject: [PATCH] nvim: Change mapping for printing Fidget message history Since it is technically vim-internal (and relatively rarely used unless to debug things), I have moved the shortcut for this function from `sh` (show-history) to `vp` (vim-print-messages). The 'p'-suffix is a little unfortunate but currently h/H/m are all taken in this vim-internal submenu. The reasoning behind this is that the 'show' menu is intended primarily for user-facing, middle-of-work tasks and windows that help me accomplish goals when actually working and getting things done. Showing the fidget history does not do that, but allows introspection into the vim editor history. So, it should accordingly live under the 'vim' menu. Additionally, it frees space in the 'show' menu and lets me/the user forget about the functionality until it is needed. --- nvim/.config/nvim/lua/plugins/ui.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nvim/.config/nvim/lua/plugins/ui.lua b/nvim/.config/nvim/lua/plugins/ui.lua index e8f1d60..22e5b26 100644 --- a/nvim/.config/nvim/lua/plugins/ui.lua +++ b/nvim/.config/nvim/lua/plugins/ui.lua @@ -14,7 +14,7 @@ return { event = { "VeryLazy" }, cmd = { "Fidget" }, keys = { - { "sh", "Fidget history", { silent = true, desc = "show notification history" } }, + { "vp", "Fidget history", { silent = true, desc = "print message history" } }, }, }, -- make all vim.ui interfaces prettyy