pasting on selected text no longer replace the register
This commit is contained in:
parent
a643903164
commit
9bca25ba75
1 changed files with 1 additions and 0 deletions
|
|
@ -28,6 +28,7 @@ vim.keymap.set('v', '<leader>r', ":SnipRun<cr>", { desc = "Run selection" })
|
||||||
|
|
||||||
vim.keymap.set('n', '<leader>N', "<cmd> Neogit <cr>", { desc = "Open Neogit" })
|
vim.keymap.set('n', '<leader>N', "<cmd> Neogit <cr>", { desc = "Open Neogit" })
|
||||||
vim.keymap.set('n', '<a-f1>', "<cmd> Copilot <cr>", { desc = "Start Copilot" })
|
vim.keymap.set('n', '<a-f1>', "<cmd> Copilot <cr>", { desc = "Start Copilot" })
|
||||||
|
vim.keymap.set('x', 'p', 'p:let @+=@0<CR>:let @"=@0<CR>', { desc = "Start Copilot" })
|
||||||
|
|
||||||
-- Global mappings.
|
-- Global mappings.
|
||||||
-- See `:help vim.diagnostic.*` for documentation on any of the below functions
|
-- See `:help vim.diagnostic.*` for documentation on any of the below functions
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue