diff options
author | Thomas Voss <mail@thomasvoss.com> | 2023-09-12 21:20:44 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2023-09-12 21:20:44 +0200 |
commit | a2bb0884a4561c85e22a072cfffbcba2e82755be (patch) | |
tree | 8911f595c82c25d8e563beaff1cbce07fe15eb56 /.config | |
parent | d8924f784a5262df5222cea28433aed865826f87 (diff) |
nvim: Add more bindings
Diffstat (limited to '.config')
-rw-r--r-- | .config/nvim/lua/mango/remap.lua | 7 |
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') |