feat: quality of life improvements
This commit is contained in:
parent
a6e9ad6cf8
commit
6476de3f61
7 changed files with 30 additions and 13 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue