diff --git a/init.lua b/init.lua index b05c8016..e22dc10b 100644 --- a/init.lua +++ b/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', '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.