msomeone / PeasyMotion

Visual Studio 2017 2019 2022 Extension, emulating vim-easymotion word-motion text navigation mode.
MIT License
55 stars 9 forks source link

Jump Forward/Backward to End of Word Default & from Caret Relative Position #11

Open CheesePizza100 opened 4 years ago

CheesePizza100 commented 4 years ago

By default, when PeasyMotion is invoked, jump labels are assigned to the beginning of words: image

It would be nice/useful to add functionality to assign jump labels to end of all words. Not sure how that is done in Vim but VsCodeVim, given this text: image

It would look similar to: image

Both Vim and VsCode Vim support jumping to the end of words forward from the current cursor position, below, the cursor is on the "p" character at the beginning of line 6: VsCode Vim image

Vim image

As noted in #10 there is a small difference between Vim and VsCode Vim with blank lines.

Both Vim and VsCode Vim support jumping to the end of words backward from the current cursor position, below, the cursor is on the "p" character at the beginning of line 9: VsCode Vim image

Vim image