feat(nvim): add legendary and dressing plugins for easy access to keymaps, commands and autocommands

This commit is contained in:
Stefan Imhoff
2022-11-10 13:14:53 +01:00
parent a5322db4f7
commit 46cb5dacb9
4 changed files with 25 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
-- https://github.com/mrjones2014/legendary.nvim
local status, legendary = pcall(require, "legendary")
if not status then
return
end
local keymap = vim.keymap.set
local opts = { noremap = true, silent = true }
legendary.setup({ which_key = { auto_register = true } })
-- Keymaps
keymap("n", "LL", "<CMD>Legendary<CR>", opts)