The current method for determining whether it's okay to access the last column is very Vim-specific. I'm going to add a new method to EditContext which controls whether it is okay to use the last column during an EditAction::Motion.
I'm also going to add another method to allow controlling where the cursor gets placed after editing the buffer. This will allow implementing ~ in a more obvious way that will play nicely with using . to repeat case changes, and will also help in #32 with supporting Kakoune's <A-o>/<A-O>.
The current method for determining whether it's okay to access the last column is very Vim-specific. I'm going to add a new method to
EditContext
which controls whether it is okay to use the last column during anEditAction::Motion
.I'm also going to add another method to allow controlling where the cursor gets placed after editing the buffer. This will allow implementing
~
in a more obvious way that will play nicely with using.
to repeat case changes, and will also help in #32 with supporting Kakoune's<A-o>
/<A-O>
.