diff --git a/dots/.config/nvim/lua/neovide.lua b/dots/.config/nvim/lua/neovide.lua index 6f9720f6..da3afa29 100644 --- a/dots/.config/nvim/lua/neovide.lua +++ b/dots/.config/nvim/lua/neovide.lua @@ -15,17 +15,9 @@ vim.g.neovide_remember_window_size = false vim.g.neovide_fullscreen = false -- Allow clipboard copy paste in neovim -vim.keymap.set("n", "", ":w", { noremap = true, silent = true }) -- Save -vim.keymap.set("v", "", '"+y', { noremap = true, silent = true }) -- Copy -vim.keymap.set("n", "", '"+P', { noremap = true, silent = true }) -- Paste normal mode -vim.keymap.set("v", "", '"+P', { noremap = true, silent = true }) -- Paste visual mode -vim.keymap.set("c", "", "+", { noremap = true, silent = true }) -- Paste command mode -vim.keymap.set("i", "", 'l"+Pli', { noremap = true, silent = true }) -- Paste insert mode -vim.keymap.set('t', '', '"+Pi', { noremap = true, silent = true }) -- Paste terminal mode - -vim.keymap.set("", "", "+p", { noremap = true, silent = true }) -vim.keymap.set("!", "", "+", { noremap = true, silent = true }) -vim.keymap.set("v", "", "+", { noremap = true, silent = true }) +vim.keymap.set({ 'n', 'v' }, '', '"+P') -- Paste normal and visual mode +vim.keymap.set({ 'i', 'c' }, '', '+') -- Paste insert and command mode +vim.keymap.set('t', '', [["+P]]) -- Paste terminal mode -- Next/prev tabs vim.keymap.set({ "", "!", "v", "t" }, "", "tabnext", { noremap = true, silent = true })