-
Notifications
You must be signed in to change notification settings - Fork 272
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
Showing
1 changed file
with
48 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters