Skip to content

Commit

Permalink
feat: adding leader p for paste without affecting copy register
Browse files Browse the repository at this point in the history
  • Loading branch information
beardage committed Sep 19, 2022
1 parent 5a6e58e commit 3fa675c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions nvim/lua/beardage/keymaps.lua
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,6 @@ keymap("i", "<A-j>", "<Esc>:move .+1<CR>==gi")
keymap("i", "<A-k>", "<Esc>:move .-2<CR>==gi")
keymap("x", "<A-j>", ":move '>+1<CR>gv-gv")
keymap("x", "<A-k>", ":move '<-2<CR>gv-gv")

--
keymap("x", "<leader>p", '"_dP')

0 comments on commit 3fa675c

Please sign in to comment.