AutoYADM commit: 2025-01-23 23:45:02

This commit is contained in:
Daniel Fichtinger 2025-01-23 23:45:02 -05:00
parent ddedb03a1f
commit 17d85b15cf
3 changed files with 8 additions and 120 deletions

View file

@ -25,6 +25,14 @@ map({ "n", "x" }, "\\", function()
LazyVim.format({ force = true })
end, { desc = "Format" })
-- preserve indent on insert
map({ "n" }, "i", "i<C-f>")
map({ "n" }, "<leader><Tab>n", "<CMD>tabnew<Cr>")
map({ "n" }, "<leader><Tab>i", "<CMD>tabnext<Cr>")
map({ "n" }, "<leader><Tab>m", "<CMD>tabprevious<Cr>")
vim.keymap.del("n", "<leader><Tab>f")
vim.keymap.del("n", "<leader><Tab>l")
map({ "n" }, "<M-c>", function()
-- the `a` is necessary to return the cursor to the same
-- position it was before