reselect after indenting in visual
This commit is contained in:
parent
c66b3f00bd
commit
3004b5f61b
|
@ -144,8 +144,8 @@ map('x', '>', '>gv|', { desc = 'Indent Left and Re-select' })
|
||||||
-- Arrows to move identation in normal mode
|
-- Arrows to move identation in normal mode
|
||||||
map('n', '<LEFT>', '<<', { desc = 'Indent Right and Re-select' })
|
map('n', '<LEFT>', '<<', { desc = 'Indent Right and Re-select' })
|
||||||
map('n', '<RIGHT>', '>>', { desc = 'Indent Left and Re-select' })
|
map('n', '<RIGHT>', '>>', { desc = 'Indent Left and Re-select' })
|
||||||
map('v', '<LEFT>', '<', { desc = 'Indent Right and Re-select' })
|
map('v', '<RIGHT>', '>gv|', { desc = 'Indent Right and Re-select' })
|
||||||
map('v', '<RIGHT>', '>', { desc = 'Indent Left and Re-select' })
|
map('v', '<LEFT>', '<gv', { desc = 'Indent Left and Re-select' })
|
||||||
|
|
||||||
-- Use tab for indenting in visual/select mode
|
-- Use tab for indenting in visual/select mode
|
||||||
map('x', '<Tab>', '>gv|', { desc = 'Indent Left' })
|
map('x', '<Tab>', '>gv|', { desc = 'Indent Left' })
|
||||||
|
|
Loading…
Reference in New Issue