Add new `reverse` value to `wildoptions`

Ouverte
#21,410 3 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 13 jours

Personne n'a encore pris cette issue.

Évaluation

Difficulté
3/5
Temps estimé
1-2 jours
Accessibilité débutants
65/100
Type d'issue
Fonctionnalité
Clarté
Plutôt claire
Activité
Active
Stack technique
vim
Domaine
cli

Piste de recherche

Start by tracing the existing wildoptions handling and popup-menu behavior, using :h fuzzy-file-picker and :h live-grep for the motivating cases. Add support for the reverse value alongside pum; done means matches appear in reverse order with the first match at the bottom and moves the selection upward.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

enhancement

I propose this new value for wildoptions which, together with pum, displays the popup menu matches in reverse order (the first match is at the bottom and <Tab> moves the selection upwards).

This is useful in combination with the snippets described in :h fuzzy-file-picker and :h live-grep where the command line is populated with many suggestions. It'd be better if the first suggestions were shown close to the command line prompt instead of at the top of the screen.

Langage dominant
Vim Script
Étoiles
41.4k
Forks
6.2k
Métriques de merge des PR
Aucune PR mergée en 30 j

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de vim/vim

Toutes les issues de vim/vim

Issues similaires

Plus d'issues CLI

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.