Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vterm: bypass line wraps in the prompt line
When the command in the prompt line is so long that it wraps to multiple lines, movements such as `h`, `l`, `^`, and `$` IMHO behave unexpectedly. In normal terminal emulators outside of Emacs, a long prompt line contains only soft-wraps, i.e. being at the last character before a wrap and pressing `<right>` moves the cursor to the first character of the next line. This is also how vterm behaves without Evil. I am changing `h` and `l` to behave the same way. While doing so, I am doing the same for `^` and `$`.
- Loading branch information