From b543777192e2806b8a7fece949d09bbbb1142b11 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Mon, 16 Oct 2023 19:52:05 +0200 Subject: nvim: Enable pasting from the clipboard --- .config/nvim/lua/mango/remap.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to '.config') diff --git a/.config/nvim/lua/mango/remap.lua b/.config/nvim/lua/mango/remap.lua index 0c4f1a9..e8bccc6 100644 --- a/.config/nvim/lua/mango/remap.lua +++ b/.config/nvim/lua/mango/remap.lua @@ -43,6 +43,9 @@ remap('nv', 'd', '"_d') remap('nv', 'y', '"+y') remap('n', 'Y', '"+Y') +-- Paste from system clipboard +remap('i', '', '"+pa') + -- Swap the jump-to-mark bindings remap('nv', "'", '`') remap('nv', '`', "'") -- cgit v1.2.3