Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Exclude cursor when doing ctrl-w (helix-editor#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 helix-editor#2390
- Loading branch information