nvim: keymappings: Add mappings to paste from + & * register
This commit is contained in:
parent
130bf3e04d
commit
643e1be349
1 changed files with 2 additions and 0 deletions
|
@ -8,6 +8,8 @@ remap('n', '<Leader>w', '<Esc>:w<CR>', { noremap = true })
|
|||
-- Copy to clipboard
|
||||
remap('v', '<Leader>y', '"+y', { noremap = true })
|
||||
remap('v', '<Leader>Y', '"*y', { noremap = true })
|
||||
remap('n', '<Leader>p', '<ESC>"+p', { noremap = true })
|
||||
remap('n', '<Leader>P', '<ESC>"*p', { noremap = true })
|
||||
-- Search and Replace
|
||||
remap('n', 'c.', ':%s//g<Left><Left><CR>', { noremap = true })
|
||||
remap('n', '<Leader>c.', ':%s/\\<<C-r><C-w>\\>//g<Left><Left>', { noremap = true })
|
||||
|
|
Loading…
Reference in a new issue