From a2bb0884a4561c85e22a072cfffbcba2e82755be Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Tue, 12 Sep 2023 21:20:44 +0200 Subject: nvim: Add more bindings --- .config/nvim/lua/mango/remap.lua | 7 +++++++ 1 file changed, 7 insertions(+) (limited to '.config/nvim/lua') diff --git a/.config/nvim/lua/mango/remap.lua b/.config/nvim/lua/mango/remap.lua index a8867d8..b90950e 100644 --- a/.config/nvim/lua/mango/remap.lua +++ b/.config/nvim/lua/mango/remap.lua @@ -43,3 +43,10 @@ remap('nv', 'd', '"_d') -- Copy to system clipboard remap('nv', 'y', '"+y') remap('n', 'Y', '"+Y') + +-- Swap the jump-to-mark bindings +remap('nv', "'", '`') +remap('nv', '`', "'") + +-- Transpose characters, because ‘xp’ is kinda awkward +remap('n', 't', 'xp') -- cgit v1.2.3