ulyssa / modalkit

A Rust library for building modal editing applications
Apache License 2.0
49 stars 5 forks source link

Add MoveType::WordAfter movement #42

Closed ulyssa closed 1 year ago

ulyssa commented 1 year ago

In order to support the Emacs keybinding M-f (and C-Right and M-Right) for #33, I'm going to add a new movement, MoveType::WordAfter, which moves up to the point right the end of a word.

ulyssa commented 1 year ago

For future reference, I replaced MoveType::WordAfter with MoveType::WordBegin(WordStyle::NonAlphaNum).