lem
lem copied to clipboard
Behavior of moving commands differs from vim
problem
file:
foo
bar baz
Triggering vi-forward-word-end-broad, cursor moves wrong positions.
- newline: after first move, cursor will be on newline followed
fooin lem, but secondoin vim. - EOB: after 4 times move, cursor will be on 4th line in lem, but 3rd line in vim. This is not only for "E", but "j" also.
possible solution
c.f. https://github.com/cxxxr/lem/compare/master...kenoss:wip/correct-vi-forward-word-end-broad?expand=1 and https://github.com/cxxxr/lem/compare/master...kenoss:wip/correct-vi-next-line?expand=1
Although, I feel that we need more radical change of vi-mode.
/label vi-mode
Please send a pull request.
Sure.
Fixed by #969.