diff --git a/lua/config/keymaps.lua b/lua/config/keymaps.lua index 86b25be..fe9dc56 100644 --- a/lua/config/keymaps.lua +++ b/lua/config/keymaps.lua @@ -167,3 +167,24 @@ map("n", "", ">", { desc = "Resize buffer right" }) map("n", "xx", ":!chmod +x %", { desc = "Make file executable" }) map("n", "b", "Telescope current_buffer_fuzzy_find", { desc = "Search in current buffer" }) + +-- Marks +map("n", "mA", "ma", { desc = "Set mark 'a'" }) +map("n", "ma", "'a", { desc = "Go to mark 'a'" }) +map("n", "m1", "'a", { desc = "Go to mark 'a'" }) + +map("n", "mB", "mb", { desc = "Set mark 'b'" }) +map("n", "mb", "'b", { desc = "Go to mark 'b'" }) +map("n", "m2", "'b", { desc = "Go to mark 'b'" }) + +map("n", "mC", "mc", { desc = "Set mark 'c'" }) +map("n", "mc", "'c", { desc = "Go to mark 'c'" }) +map("n", "m3", "'c", { desc = "Go to mark 'c'" }) + +map("n", "mD", "md", { desc = "Set mark 'd'" }) +map("n", "md", "'d", { desc = "Go to mark 'd'" }) +map("n", "m4", "'d", { desc = "Go to mark 'd'" }) + +map("n", "mE", "me", { desc = "Set mark 'e'" }) +map("n", "me", "'e", { desc = "Go to mark 'e'" }) +map("n", "m5", "'e", { desc = "Go to mark 'e'" })