summaryrefslogtreecommitdiff
path: root/.config/nvim
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim')
-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')