summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-11-01 19:33:26 +0100
committerThomas Voss <mail@thomasvoss.com> 2023-11-01 19:34:26 +0100
commit5aea542c00c34a351cbd954cc23ae81149358c80 (patch)
tree5aab4db972b72b8e1498edc974b6c5252405d557
parentb76b2c820140a58fed0dec8d756f8508265c07ef (diff)
nvim: Use lowercase keys
-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 7eae184..3100fd0 100644
--- a/.config/nvim/lua/mango/remap.lua
+++ b/.config/nvim/lua/mango/remap.lua
@@ -24,8 +24,8 @@ remap('n', 'V', '<C-v>')
remap('n', '<C-v>', 'V')
-- Move selections up and down
-remap('v', '<C-J>', ":m '>+1<CR>gv=gv")
-remap('v', '<C-K>', ":m '<-2<CR>gv=gv")
+remap('v', '<C-k>', ":m '<-2<CR>gv=gv")
+remap('v', '<C-j>', ":m '>+1<CR>gv=gv")
-- Don’t move cursor with various commands
remap('n', 'J', 'mzJ`z')