mirror of
https://github.com/NvChad/NvChad.git
synced 2024-11-06 15:20:25 +00:00
fix for (#844) Replace-paste at end of line incorrect
This commit is contained in:
parent
0cf5d77f72
commit
5ec6112a59
@ -26,7 +26,7 @@ local M = {}
|
|||||||
M.misc = function()
|
M.misc = function()
|
||||||
local function non_config_mappings()
|
local function non_config_mappings()
|
||||||
-- Don't copy the replaced text after pasting in visual mode
|
-- Don't copy the replaced text after pasting in visual mode
|
||||||
map_wrapper("v", "p", '"_dP')
|
map_wrapper("v", "p", 'p:let @+=@0<CR>')
|
||||||
|
|
||||||
-- Allow moving the cursor through wrapped lines with j, k, <Up> and <Down>
|
-- Allow moving the cursor through wrapped lines with j, k, <Up> and <Down>
|
||||||
-- http://www.reddit.com/r/vim/comments/2k4cbr/problem_with_gj_and_gk/
|
-- http://www.reddit.com/r/vim/comments/2k4cbr/problem_with_gj_and_gk/
|
||||||
|
Loading…
Reference in New Issue
Block a user