feat(plugin): simplify plugin specs and update keybindings
Simplify plugin configurations and improve keybinding consistency. New Features - Use plain plugin names instead of version‑locked specifications. Enhancements - Change colorcolumn setting from number to string. - Replace multiple update mappings with a single vim.pack.update() call. Bug Fixes - Remove outdated plugin manager mappings that caused duplicate actions.
This commit is contained in:
3 files changed
+4
-15
No files matched your search
+1
-12
@@ -151,20 +151,9 @@ local normal_mappings = {
|
||||
{ "<leader>or", ":set relativenumber!<cr>", desc = "Relative Numbers" },
|
||||
|
||||
{ "<leader>p", group = " Packages" },
|
||||
{ "<leader>pc", ":Lazy check<cr>", desc = "Check" },
|
||||
{ "<leader>pd", ":Lazy debug<cr>", desc = "Debug" },
|
||||
{ "<leader>pe", ':lua require("snacks").profiler.scratch()<cr>', desc = "Profiler Scratch" },
|
||||
{ "<leader>pf", ':lua require("snacks").profiler.pick()<cr>', desc = "Profiler Pick" },
|
||||
{ "<leader>pi", ":Lazy install<cr>", desc = "Install" },
|
||||
{ "<leader>pl", ":Lazy log<cr>", desc = "Log" },
|
||||
{ "<leader>pm", ":Mason<cr>", desc = "Mason" },
|
||||
{ "<leader>pp", ":Lazy<cr>", desc = "Plugins" },
|
||||
{ "<leader>pP", ":Lazy profile<cr>", desc = "Profile" },
|
||||
{ "<leader>pr", ":Lazy restore<cr>", desc = "Restore" },
|
||||
{ "<leader>ps", ":Lazy sync<cr>", desc = "Sync" },
|
||||
{ "<leader>pu", ":lua vim.pack.update()<cr>", desc = "Update Plugins" },
|
||||
{ "<leader>pt", ':lua require("snacks").profiler.toggle()<cr>', desc = "Profiler Toggle" },
|
||||
{ "<leader>pu", ":Lazy update<cr>", desc = "Update" },
|
||||
{ "<leader>px", ":Lazy clean<cr>", desc = "Clean" },
|
||||
|
||||
{ "<leader>q", group = " Quit" },
|
||||
{ "<leader>qa", ":qall<cr>", desc = "Quit All" },
|
||||
|
||||
Reference in new issue
Block a user