adding ability to paste without clobbering buffer

This commit is contained in:
Jason Stentz 2025-11-22 18:41:43 -05:00
parent b6b4e03afe
commit 0b62cac365
1 changed files with 3 additions and 0 deletions

View File

@ -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.