chore(nvim): simplify imports and clean up plugin files

This commit is contained in:
Stefan Imhoff
2022-12-17 17:48:17 +01:00
parent 68a3d0deab
commit a7e00b506d
51 changed files with 245 additions and 487 deletions

View File

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