tweaks to vim paste and git

This commit is contained in:
Noah Masur
2022-09-13 23:09:03 -04:00
parent 5648cd29e7
commit 2c0cc201e9
3 changed files with 5 additions and 0 deletions

View File

@ -75,3 +75,4 @@ key("n", "<A-CR>", ":noh<CR>", { silent = true }) --- Clear search in VimWiki
key("n", "Y", "y$") --- Copy to end of line
key("v", "<C-r>", "y<Esc>:%s/<C-r>+//gc<left><left><left>") --- Substitute selected
key("v", "D", "y'>gp") --- Duplicate selected
key("x", "<Leader>p", '"_dP') --- Paste but keep register