summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/mango/remap.lua
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-09-12 23:35:19 +0200
committerThomas Voss <mail@thomasvoss.com> 2023-09-12 23:35:19 +0200
commitdcc38607f207af8e2c0cebe36e49018929057f1b (patch)
tree1847bda82ae7e247b371ca933aaf39fd134c315e /.config/nvim/lua/mango/remap.lua
parented82e4042b8bfc472a0796dedec1a9369e411cb8 (diff)
nvim: Format all the code with the lua LSP
Diffstat (limited to '.config/nvim/lua/mango/remap.lua')
-rw-r--r--.config/nvim/lua/mango/remap.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/.config/nvim/lua/mango/remap.lua b/.config/nvim/lua/mango/remap.lua
index bcc34f3..a43ba19 100644
--- a/.config/nvim/lua/mango/remap.lua
+++ b/.config/nvim/lua/mango/remap.lua
@@ -35,12 +35,12 @@ remap('n', 'n', 'nzzzv')
remap('n', 'N', 'Nzzzv')
-- Paste and delete without clobbering primary register
-remap('x', '<leader>p', '"_dP')
+remap('x', '<leader>p', '"_dP')
remap('nv', '<leader>d', '"_d')
-- Copy to system clipboard
remap('nv', '<leader>y', '"+y')
-remap('n', '<leader>Y', '"+Y')
+remap('n', '<leader>Y', '"+Y')
-- Swap the jump-to-mark bindings
remap('nv', "'", '`')