Keybind I
jumps to very first character of dialog input, even if it's whitespace
#2120
Closed
3 tasks done
Labels
bug
Something isn't working
What system are you running Yazi on?
Linux Wayland
What terminal are you running Yazi in?
kitty v0.38.1
yazi --debug
outputDescribe the bug
When editing a line in a dialog input (such as renaming a file or running a shell command), the
I
keybind in normal mode puts the cursor at the very first character (column 1), instead of the first non-whitespace character.This is inconsistent with standard vim keybinds, and does not appear to be intentional.
Minimal reproducer
touch ' abc'
to create a file with a name beginning in whitespace.yazi
, locate the file, and pressr
to rename.<Esc>
to enter normal mode.I
to jump the cursor to the first character and enter insert mode.The cursor will now be at column 1, but it should be in column 3, just before the letter
a
.Anything else?
Related: #2119, especially the request for
^
and_
keybinds.Checklist
yazi --debug
) input box to the nightly that I triedmv ~/.config/yazi ~/.config/yazi-backup
)The text was updated successfully, but these errors were encountered: