1

Re: backword selection behavior is different from vim

text: abcdefg
in normal mode, my block cursor is at "d", i press v, the cursor goes into "I" (single line, not a block) and is before "d", move cursor backwward to before "a", i got "abc" selected
but in vim, i got "abcd" selected

the behavior is bad in viemu as i cannot include g in selection if it start it from g back to a, only "abcdef" is selected

2

Re: backword selection behavior is different from vim

Indeed, this is because ViEmu still only emulates vim's ":set selection=exclusive" mode, instead of the more commong ":set selection=inclusive". The reason this is so is that I emulated vim's default behavior in windows, which is with what I was familiar, and I wasn't familiar with the 'selection' setting.

This will be implemented in a future version, but this is still in the future.

  - Jon

3

Re: backword selection behavior is different from vim

ok, thanks. and good to know there is selection option for vim

4

Re: backword selection behavior is different from vim

You're very welcome. Discovering it was surprising for me too.