dbalatero / VimMode.spoon

Adds vim keybindings to all OS X inputs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Linewise operations in bootleg Vim mode should reset the line in visual mode

dbalatero opened this issue · comments

{
modifiers = {'ctrl'},
key = 'a',
selection = true
}

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 = { ... }
}