Commit Graph

60 Commits (2ea20a23e26a771e095972bdda673d491b4aacc5)

Author SHA1 Message Date
Blaž Hrastnik f4560cb68a Better fix for w/e that also covers `ia<esc>we`/`ia<esc>wb` 3 years ago
Blaž Hrastnik 3ace581191 Fix panics when triggering w or e on the last char of the line
Closes #32
3 years ago
Blaž Hrastnik c0264b9f7f fix: Don't allow moving past last line, fixes #30, #24
Off by 1 error
3 years ago
Blaž Hrastnik 2cc30cd07c Categorize _ as a word char, not punctuation 3 years ago
Blaž Hrastnik 17e9386388 Allow moving to EOL byte, also fixes #15 3 years ago
Blaž Hrastnik e8298a398c Fix selection rendering, it would be off by 1 if reverse. 3 years ago
Blaž Hrastnik 9dfd6f6bbc clippy lint 3 years ago
Blaž Hrastnik 59a0fc7b59 w, b, e: Match kakoune's behavior in selecting by default.
I initially preferred only moving the cursor, but selecting the whole
word is a lot nicer for things like wd (instead of vwd).
3 years ago
Blaž Hrastnik c331721565 Finish hiding doc.state / State as an implementation detail. 3 years ago
Blaž Hrastnik dbcc099f48 Move things out of state.rs. 3 years ago