So I know with vimscript you could make paste not overwrite your register with this:
vnoremap p pgvy
And I've tried a few ways to get this to with with Lua such as:
vim.api.nvim_set_keymap('n', 'p', 'pgvy', { noremap = true })
But this doesn't work.
How can I get this kind of functionality with a Lua config?
:help v_P