adding ability to paste without clobbering buffer
This commit is contained in:
parent
b6b4e03afe
commit
0b62cac365
3
init.lua
3
init.lua
|
|
@ -24,6 +24,9 @@ vim.o.mouse = 'a'
|
|||
-- Don't show the mode, since it's already in the status line
|
||||
vim.o.showmode = false
|
||||
|
||||
-- Allow pasting without clobbering the buffer
|
||||
vim.keymap.set('x', '<leader>p', '"_dP')
|
||||
|
||||
-- Sync clipboard between OS and Neovim.
|
||||
-- Schedule the setting after `UiEnter` because it can increase startup-time.
|
||||
-- Remove this option if you want your OS clipboard to remain independent.
|
||||
|
|
|
|||
Loading…
Reference in New Issue