vi command mode: Missing repetition for `s` command
Hi fish team,
first off: Thank you for your great project! I'm migrating all my Linux machines to use fish as the default shell because it feels so much better than e.g. zsh for interactive use.
I noticed that the s command in vi command mode does not support repetition, which sometimes bytes me.
To reproduce:
fish -N
fish_vi_key_bindings
herro<ESC>hh2sExpected result: "rr" gets removed, then insert mode is entered Observed result: Only one "r" gets removed, then insert mode is entered
This is inconsistent with both vi and the behavior of fish's x command (2x removes two characters).
I also noticed that neither s nor x is documented here: https://fishshell.com/docs/current/interactive.html#vi-mode-command
$ fish --version
fish, version 4.8.1
$ uname
LinuxI'm using alacritty as my terminal.
Thanks and best regards!
Source: fish-shell/fish-shell