feat(nvim): show messages via keybind

This commit is contained in:
Price Hiller 2024-06-12 00:21:33 -05:00
parent 01c7e0d95a
commit 305d6f7a6c
Signed by: Price
GPG Key ID: C3FADDE7A8534BEB

View File

@ -123,6 +123,9 @@ M.setup = function()
-- Alias <leader>/ to toggle comments
vim.keymap.set("n", "<leader>/", "gcc", { silent = true, remap = true, desc = "Comment: Toggle Line" })
vim.keymap.set("v", "<leader>/", "gc", { silent = true, remap = true, desc = "Comment: Toggle Selection" })
-- Bring up messages via keybind
vim.keymap.set("n", ";m", "<cmd>message<CR>", { silent = true, noremap = true, desc = "View Messages" })
end
return M