fix pasing in select mode @lucario387

This commit is contained in:
krolyxon 2022-09-08 23:04:25 +05:30
parent cd56034d37
commit 008f8260c5
1 changed files with 7 additions and 1 deletions

View File

@ -21,6 +21,12 @@ M.general = {
"close buffer",
}
},
x = {
-- Don't copy the replaced text after pasting in visual mode
-- https://vim.fandom.com/wiki/Replace_a_word_with_yanked_text#Alternative_mapping_for_paste
["p"] = { 'p:let @+=@0<CR>:let @"=@0<CR>', opts = { silent = true } },
},
}
M.nvimtree = {
@ -32,7 +38,7 @@ M.nvimtree = {
},
}
M.kterm= {
M.kterm = {
plugin = true,
t = {