jeffreytse/zsh-vi-mode

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

Hubro opened this issue · 0 comments

Hubro commented

General information

Please report the following information as possible as you can:

  • Terminal program: kitty 0.28.1
  • Operating system: Arch Linux
  • ZSH framework: none
  • ZSH version: 5.9
  • ZVM version: 2ca0cf6

Basic examination

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

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 ☝️

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.