jeffreytse/zsh-vi-mode

<C-a>/<C-x> should jump cursor to the next number

Aberta

#203 aberto em 22 de fev. de 2023

 (1 comentário) (1 reação) (1 responsável)Shell (154 forks)github user discovery
enhancementgood first issue

Métricas do repositório

Stars
 (4.429 estrelas)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

General information

  • Terminal: alacritty
  • OS: NixOS / macOS
  • ZSH framework: None
  • ZSH version: 5.9
  • ZVM version: 0.9.0

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

Pressing <C-a> increments the number under the cursor. This is correct. However, in real vi(m), pressing <C-a> seeks to the next number on the line, if the cursor is not on a number.

Reproduction steps

  1. type hello world 1
  2. enter normal mode
  3. 0
  4. <C-a>
  5. ... nothing

Expected behavior

hello world 2 and the cursor to jump to the end of the string

Guia do colaborador