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
`<leader>sh` (show-history) to `<leader>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.
This commit is contained in:
Marty Oehme 2025-05-09 22:08:21 +02:00
parent 15015e61e0
commit d2be1c8795
Signed by: Marty
GPG key ID: 4E535BC19C61886E

View file

@ -14,7 +14,7 @@ return {
event = { "VeryLazy" },
cmd = { "Fidget" },
keys = {
{ "<leader>sh", "<cmd>Fidget history<cr>", { silent = true, desc = "show notification history" } },
{ "<leader>vp", "<cmd>Fidget history<cr>", { silent = true, desc = "print message history" } },
},
},
-- make all vim.ui interfaces prettyy