Add S-F1 shortcut to view key hints
This commit is contained in:
parent
4aaf3ee9fa
commit
acb933d735
2 changed files with 14 additions and 4 deletions
|
@ -39,6 +39,20 @@ return {
|
||||||
-- vim.g.barbar_auto_setup = false
|
-- vim.g.barbar_auto_setup = false
|
||||||
--end,
|
--end,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
"folke/which-key.nvim",
|
||||||
|
event = "VeryLazy",
|
||||||
|
keys = {
|
||||||
|
{
|
||||||
|
"<S-F1>",
|
||||||
|
function()
|
||||||
|
require("which-key").show()
|
||||||
|
end,
|
||||||
|
mode = { "n", "v", "i" },
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"goolord/alpha-nvim",
|
"goolord/alpha-nvim",
|
||||||
vim.keymap.set("n", "<A-left>", ":BufferPrevious<CR>", { desc = "Previous Buffer" }),
|
vim.keymap.set("n", "<A-left>", ":BufferPrevious<CR>", { desc = "Previous Buffer" }),
|
||||||
|
|
|
@ -1,4 +0,0 @@
|
||||||
return {
|
|
||||||
"folke/which-key.nvim",
|
|
||||||
event = "VeryLazy"
|
|
||||||
}
|
|
Loading…
Reference in a new issue