Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vterm: bypass line wraps in the prompt line #717

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Apr 3, 2023

  1. 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 `$`.
    FrostyX committed Apr 3, 2023
    Configuration menu
    Copy the full SHA
    08e0259 View commit details
    Browse the repository at this point in the history