fix: shift not working properly in visual mode
This commit is contained in:
parent
3ff3218ea1
commit
7e99cdca1d
|
@ -41,6 +41,21 @@ local keymaps = {
|
|||
desc = "Edit new, unnamed buffer"
|
||||
},
|
||||
--
|
||||
-- Shift line(s) by one shiftwidth
|
||||
-- ..............................................
|
||||
{
|
||||
mode = { 'v' },
|
||||
keys = '<tab>',
|
||||
cmd = '>gv',
|
||||
desc = "Shift selection in visual mode right"
|
||||
},
|
||||
{
|
||||
mode = { 'v' },
|
||||
keys = '<S-tab>',
|
||||
cmd = '<gv',
|
||||
desc = "Shift selection in visual right"
|
||||
},
|
||||
--
|
||||
-- Window controls
|
||||
-- ..............................................
|
||||
{
|
||||
|
|
|
@ -32,8 +32,8 @@ return {
|
|||
opts = {
|
||||
mappings = {
|
||||
-- Move visual selection in Visual mode. Defaults are Alt (Meta) + hjkl.
|
||||
left = '<S-tab>',
|
||||
right = '<tab>',
|
||||
left = nil,
|
||||
right = nil,
|
||||
down = '<C-down>',
|
||||
up = '<C-up>',
|
||||
|
||||
|
|
Loading…
Reference in New Issue