Skip to content

Helix Visual mode move cursor too far #1190

Description

@glcraft

Reproduced on MacOS and ArchLinux, with Wezterm and iTerm2, on nushell 0.115.1

When using Helix mode, on visual mode, going left (using left key or h) jumps 2 characters instead of 1.

Steps to reproduce

  • Enable helix mode
$env.config.edit_mode = "helix"
  • In insert mode, tap something with more than 3 characters
  • Press Esc to return to normal mode
  • Select the text you tapped by pressing %
  • Enter in visual mode by pressing v
  • Lastly, press left or h to move to the left. Notice the cursor jumps by 2 characters

Screenshots/Screencaptures

Enregistrement.de.l.ecran.2026-08-25.a.23.23.44.mov

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions