jeffreytse / zsh-vi-mode

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

3-letter month names change to full month names when iterating over May #227

Closed Hubro closed 11 months ago

Hubro commented 1 year ago

General information

Please report the following information as possible as you can:

Basic examination

Problem description

If you type out "Jan" and use Ctrla to increase it to "Feb", "Mar" and so on, once it reaches "May" it will assume you're iterating over full month names because "May" only has 3 letters. The next month will be "June" and so on.

Reproduction steps

See above :point_up:

Expected behavior

It should probably somehow know that you're iterating over 3-letter month names, it will probably need to remember the last value to know that.