diff options
author | Thomas Voss <mail@thomasvoss.com> | 2023-10-16 19:52:05 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2023-10-16 19:52:05 +0200 |
commit | b543777192e2806b8a7fece949d09bbbb1142b11 (patch) | |
tree | ea5b4de79e9ce48df37a21fdcf2c6f511b8e6eeb /.config/nvim | |
parent | 3c9b39353fc0c751763ab9ab25f8956dd7e3d927 (diff) |
nvim: Enable pasting from the clipboard
Diffstat (limited to '.config/nvim')
-rw-r--r-- | .config/nvim/lua/mango/remap.lua | 3 |
1 files changed, 3 insertions, 0 deletions
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', '<leader>d', '"_d') remap('nv', '<leader>y', '"+y') remap('n', '<leader>Y', '"+Y') +-- Paste from system clipboard +remap('i', '<C-+>', '"+pa') + -- Swap the jump-to-mark bindings remap('nv', "'", '`') remap('nv', '`', "'") |