feat: quality of life improvements

This commit is contained in:
Oliver Ladner 2025-05-20 14:27:32 +02:00
commit 6476de3f61
7 changed files with 30 additions and 13 deletions

View file

@ -48,9 +48,9 @@ end, { noremap = true, desc = "Git diff/stage" })
vim.keymap.set("n", "<leader>gb", ":Gitsigns toggle_current_line_blame<CR>", { noremap = true, desc = "Git blame" })
-- Remapping of existing Vim key binds
vim.keymap.set("n", "w", "W") -- skip punctuation when moving to start of next word
vim.keymap.set("n", "e", "E") -- skip punctuation when moving to end of next word
vim.keymap.set("n", "b", "B") -- skip punctuation when moving to end of previous word
-- vim.keymap.set("n", "w", "W") -- skip punctuation when moving to start of next word
-- vim.keymap.set("n", "e", "E") -- skip punctuation when moving to end of next word
-- vim.keymap.set("n", "b", "B") -- skip punctuation when moving to end of previous word
--vim.keymap.set("n", "<leader>i", "gg=G``", { noremap = true, desc = "Re-indent whole file" }) -- '``' makes it stay at current line+column position