fix line move down

This commit is contained in:
Christoph J. Scherr 2024-07-10 11:15:54 +02:00
parent bb3d5261e2
commit 4a398f3e8d
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ vim.keymap.set({ 'n' }, '<leader>s', 's', { desc = '[S]ubstitute hovered text' }
-- do something useful with the arrow keys:
-- move lines up/down and change indentation
vim.keymap.set({ 'n', 'v' }, '<Up>', '<cmd> move-2<cr>', { desc = 'Move line up' })
vim.keymap.set({ 'n', 'v' }, '<Down>', '<cmd> move+2<cr>', { desc = 'Move line down' })
vim.keymap.set({ 'n', 'v' }, '<Down>', '<cmd> move+1<cr>', { desc = 'Move line down' })
vim.keymap.set({ 'n', 'v' }, '<Left>', '<<', { desc = 'Less indentation' })
vim.keymap.set({ 'n', 'v' }, '<Right>', '>>', { desc = 'More indentation' })