helix-mods/helix-term
Ivan Tham 0477d02894
Exclude cursor when doing ctrl-w (#2431)
Currently ctrl-w in insert mode deletes the cursor which results in
unexpected behavior. The patch also reduces the selection to cursor before
performing prev word to remove the behavior of removing unnecessary text
when nothing should be removed.

1. `::#(|)#::` after `ctrl-w` should be `#(|)#::`, previously `#(|)#:`
2. `#(|::)#` after `ctrl-w` should be `#(|::)#`, previously `#(|)#`

Fix #2390
2022-05-11 10:12:27 +09:00
..
src Exclude cursor when doing ctrl-w (#2431) 2022-05-11 10:12:27 +09:00
.gitignore Initial import. 2020-05-20 18:14:51 +09:00
build.rs publish a source tarball with version and grammars (#1875) 2022-03-29 14:34:19 +09:00
Cargo.toml num_cpus apparently unused in helix-term 2022-05-01 11:40:04 +09:00