From efd47a069918ff13c004743094a8b8a83868f377 Mon Sep 17 00:00:00 2001 From: tastytea Date: Tue, 17 Jan 2023 17:03:42 +0100 Subject: [PATCH] nvim: fix some maps --- .config/nvim/lua/my/keymaps.lua | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.config/nvim/lua/my/keymaps.lua b/.config/nvim/lua/my/keymaps.lua index 032938e..b06415f 100644 --- a/.config/nvim/lua/my/keymaps.lua +++ b/.config/nvim/lua/my/keymaps.lua @@ -60,9 +60,10 @@ map({ 'v', 'n' }, 'y', '"+y', 'Yank to system clipboard') map({ 'v', 'n' }, '', '"*y', 'Yank to system selection') map('n', 'p', '"+p', 'Paste from system clipboard') -map('n', 'P', '"+P', 'Paste from system clipboard') -map('n', '', '"*p', 'Paste from system selection (after)') -map('n', '', '"*P', 'Paste from system selection (before)') +map('n', 'P', '"+P', 'Paste from system clipboard') +map('n', '', '"*p', 'Paste from system selection') +map('n', '', '"*P', 'Paste from system selection') + -- toggle between beginning of line and beginning of text map({ 'n', 'i', 'v' }, '',