jugglerchris / textadept-vi

Customisation for the textadept editor to make it a bit more like vim.
MIT License
35 stars 5 forks source link

"u" (undo) does not correctly set the cursor after a "cw" #20

Closed markus-oberhumer-forks closed 1 year ago

markus-oberhumer-forks commented 8 years ago

Undo seems to put the cursor at the end of the word instead of the previous position.

jugglerchris commented 8 years ago

I agree this is annoying! Experimenting in vim, undo seems to put the word at the beginning of the area affected (which might be different from previous position - eg for daw or c^. I guess that means that saving the previous position would help some cases, but not be completely compatible.