From 4675abf4faa23ed6c9e7d7d005500ccc4a99e8df Mon Sep 17 00:00:00 2001 From: Baipyrus Date: Mon, 1 Jul 2024 16:48:32 +0200 Subject: [PATCH] replace insert mode pasting --- lua/keymaps.lua | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lua/keymaps.lua b/lua/keymaps.lua index b3712d2..3687564 100644 --- a/lua/keymaps.lua +++ b/lua/keymaps.lua @@ -65,10 +65,8 @@ if vim.g.neovide then -- System clipboard keybinds in normal and visual mode vim.keymap.set({ 'n', 'v' }, '', '"+y', { desc = 'Yank to System clipboard' }) vim.keymap.set({ 'n', 'v' }, '', '"+p', { desc = 'Paste from System clipboard' }) - -- Clipboard for insert mode - vim.keymap.set({ 'i' }, '', '"+pi', { desc = 'Paste from System clipboard' }) - -- Clipboard for command mode - vim.keymap.set('c', '', '+', { desc = 'Paste from System clipboard' }) + -- Clipboard for command and insert mode + vim.keymap.set({ 'c', 'i' }, '', '+', { desc = 'Paste from System clipboard' }) end -- [[ Basic Autocommands ]]