Added new plugins and modified remaps

This commit is contained in:
2024-03-17 23:46:09 +01:00
parent 75da28e181
commit 100331949d
8 changed files with 40 additions and 41 deletions

View File

@@ -68,24 +68,24 @@ local vn = {
for map, command in pairs(v) do
if command.desc then
set("v", map, command[1], { desc = command.desc })
set("v", map, command[1], { desc = command.desc, silent = true })
else
set("v", map, command[1])
set("v", map, command[1], { silent = true })
end
end
for map, command in pairs(n) do
if command.desc then
set("n", map, command[1], { desc = command.desc })
set("n", map, command[1], { desc = command.desc, silent = true })
else
set("n", map, command[1])
set("n", map, command[1], { silent = true })
end
end
for map, command in pairs(vn) do
if command.desc then
set({ "v", "n" }, map, command[1], { desc = command.desc })
set({ "v", "n" }, map, command[1], { desc = command.desc, silent = true })
else
set({ "v", "n" }, map, command[1])
set({ "v", "n" }, map, command[1], { silent = true })
end
end