astro-nvim-v3 archive v5

This commit is contained in:
huyjaky
2024-07-25 17:07:42 +07:00
parent d80c725c2a
commit 9658ef493a
6 changed files with 55 additions and 14 deletions

View File

@@ -32,14 +32,15 @@ return function()
mappings.i["<S-Tab>"] = { "<C-d>", desc = "Unindent line" }
mappings.v["<Tab>"] = { ">gv", desc = "Indent line" }
mappings.v["<S-Tab>"] = { "<gv", desc = "Unindent line" }
-- Separate cut and delete motion
for key, map in pairs {
["d"] = { '"_d', desc = "Delete" },
["X"] = { "d", desc = "Cut" },
} do
mappings.n[key] = map
mappings.v[key] = map
end
-- for key, map in pairs {
-- ["d"] = { '"_d', desc = "Delete" },
-- ["X"] = { "d", desc = "Cut" },
-- } do
-- mappings.n[key] = map
-- mappings.v[key] = map
-- end
------ Motions related to jumping or selecting ------
-- for key, map in pairs {