zsh-vi-mode icon indicating copy to clipboard operation
zsh-vi-mode copied to clipboard

[count]cl or [count]s only affecting a single char despite [count]

Open KiLLeRRaT opened this issue 8 months ago • 0 comments

General information

  • Terminal program: tmux 3.4, via alacritty 0.13.2 (bb8ea18e)
  • Operating system: Arch up-to-date as of today
  • ZSH framework: oh-my-posh 19.25.0
  • ZSH version: zsh 5.9 (x86_64-pc-linux-gnu)

Basic examination

  • [x] I have read through the README page
  • [x] I have the latest version of zsh-vi-mode
  • [x] I have tested with another terminal program

Problem description

cl and s doesn't work with a count.

Reproduction steps

  1. Enter fd "hello world"
  2. Press Esc to go back to normal mode
  3. Press 0 to get to the start of the string
  4. Type 2cl
  5. Expecting to have | "hello world" but we actually have |d "hello world" (Note that I used | to indicate cursor position).

KiLLeRRaT avatar May 23 '24 23:05 KiLLeRRaT