summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/nvim/lua/mango/remap.lua7
1 files changed, 7 insertions, 0 deletions
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', '<leader>d', '"_d')
-- Copy to system clipboard
remap('nv', '<leader>y', '"+y')
remap('n', '<leader>Y', '"+Y')
+
+-- Swap the jump-to-mark bindings
+remap('nv', "'", '`')
+remap('nv', '`', "'")
+
+-- Transpose characters, because ‘xp’ is kinda awkward
+remap('n', '<leader>t', 'xp')