Linewise operations in bootleg Vim mode should reset the line in visual mode
dbalatero opened this issue · comments
David Balatero commented
VimMode.spoon/lib/motions/last_line.lua
Lines 30 to 34 in 3a52406
This motion will select to the very end of the document in linewise mode, but it should really reset the cursor to the beginning of the document.
We should return from getMovements()
a better data structure, like:
{
direction = 'linewise',
mode = 'exclusive',
keys = { ... }
}