reselect after indenting in visual

This commit is contained in:
Christoph J. Scherr 2023-10-01 16:49:56 +02:00
parent c66b3f00bd
commit 3004b5f61b
1 changed files with 2 additions and 2 deletions

View File

@ -144,8 +144,8 @@ map('x', '>', '>gv|', { desc = 'Indent Left and Re-select' })
-- Arrows to move identation in normal mode
map('n', '<LEFT>', '<<', { desc = 'Indent Right and Re-select' })
map('n', '<RIGHT>', '>>', { desc = 'Indent Left and Re-select' })
map('v', '<LEFT>', '<', { desc = 'Indent Right and Re-select' })
map('v', '<RIGHT>', '>', { desc = 'Indent Left and Re-select' })
map('v', '<RIGHT>', '>gv|', { desc = 'Indent Right and Re-select' })
map('v', '<LEFT>', '<gv', { desc = 'Indent Left and Re-select' })
-- Use tab for indenting in visual/select mode
map('x', '<Tab>', '>gv|', { desc = 'Indent Left' })