mirror of
https://github.com/kogakure/dotfiles.git
synced 2026-02-03 20:25:30 +00:00
feat(nvim): add legendary and dressing plugins for easy access to keymaps, commands and autocommands
This commit is contained in:
13
nvim/after/plugin/legendary.lua
Normal file
13
nvim/after/plugin/legendary.lua
Normal 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)
|
||||
Reference in New Issue
Block a user