diff --git a/users/price/dots/.config/nvim/lua/neovide.lua b/users/price/dots/.config/nvim/lua/neovide.lua index 2c8f0de9..b63b07d4 100644 --- a/users/price/dots/.config/nvim/lua/neovide.lua +++ b/users/price/dots/.config/nvim/lua/neovide.lua @@ -21,8 +21,10 @@ vim.g.neovide_cursor_vfx_particle_lifetime = 0.3 -- ===== Allow clipboard copy paste in neovim -- Paste normal and visual mode vim.keymap.set({ "n", "v" }, "", '"+P') --- Paste insert and command mode -vim.keymap.set({ "i", "c" }, "", function() +-- Paste in command mode +vim.keymap.set("c", "", "+") +-- Paste in insert mode +vim.keymap.set("i", "", function() local register = "+" local register_type = vim.fn.getregtype(register) local register_content = vim.fn.getreg(register)