@@ -319,30 +319,18 @@ M.setup = function(opts)
319
319
expr = true ,
320
320
desc = " Plain debug above current line" ,
321
321
})
322
- vim .keymap .set (" n" , " g?v" , function ()
322
+ vim .keymap .set ({ " n" , " x " } , " g?v" , function ()
323
323
return M .debugprint ({ variable = true })
324
324
end , {
325
325
expr = true ,
326
326
desc = " Variable debug below current line" ,
327
327
})
328
- vim .keymap .set (" n" , " g?V" , function ()
328
+ vim .keymap .set ({ " n" , " x " } , " g?V" , function ()
329
329
return M .debugprint ({ above = true , variable = true })
330
330
end , {
331
331
expr = true ,
332
332
desc = " Variable debug above current line" ,
333
333
})
334
- vim .keymap .set (" x" , " g?v" , function ()
335
- return M .debugprint ({ variable = true })
336
- end , {
337
- expr = true ,
338
- desc = " Visually-selected variable debug below current line" ,
339
- })
340
- vim .keymap .set (" x" , " g?V" , function ()
341
- return M .debugprint ({ above = true , variable = true })
342
- end , {
343
- expr = true ,
344
- desc = " Visually-selected variable debug above current line" ,
345
- })
346
334
vim .keymap .set (" n" , " g?o" , function ()
347
335
return M .debugprint ({ motion = true })
348
336
end , {
0 commit comments