jeffreytse / zsh-vi-mode

💻 A better and friendly vi(vim) mode plugin for ZSH.
MIT License
2.94k stars 102 forks source link

The `.` command doesn't work correctly as expected behavior #226

Closed jeffreytse closed 1 year ago

jeffreytse commented 1 year ago

General information

Please report the following information as possible as you can:

Basic examination

Problem description

The . command doesn't work correctly as expected behavior.

Reproduction steps

  1. Open Terminal and switch to insert mode
  2. Type echo foo bar zoo and switch back to normal mode
  3. Type 0 and then df<space>, the command became foo bar zoo
  4. Type . to repeat the last action, only one character was deleted, the command became oo bar zoo

Expected behavior

The repeat command . should repeat the action correctly, that is, to remove foo<space>.