Support mapping an operator (`g@` and `operatorfunc`)
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 35/100
- Type d'issue
- Fonctionnalité
- Clarté
- Plutôt claire
- Activité
- À l'abandon
- Stack technique
- javascript
- Domaine
- tooling
Piste de recherche
Use the documented :help map-operator behavior as the reference, focusing on g@, operatorfunc, and the '[ and '] marks. Done means mappings can invoke the operator function with the documented line, char, or block argument, providing the behavior needed for a proper surround.vim port.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
From :help map-operator:
g@{motion} Call the function set by the 'operatorfunc' option.
The '[ mark is positioned at the start of the text
moved over by {motion}, the '] mark on the last
character of the text.
The function is called with one String argument:
"line" {motion} was |linewise|
"char" {motion} was |characterwise|
"block" {motion} was |blockwise-visual|
Looking into what a proper surround.vim port would take, this is necessary for defining and applying the "surround" operator.
- Langage dominant
- JavaScript
- Étoiles
- 481
- Forks
- 58
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Propose un modèle de pull request
- Aucun guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de replit/codemirror-vim
-
[Bug] Exiting Visual mode at end of line leaves the Normal-mode cursor past the final characterOuverte
Difficulté 3/5 1-2 jours Accessibilité débutants 65/100
replit/codemirror-vim#277 ·
-
Difficulté 4/5 3-5 jours Accessibilité débutants 50/100
replit/codemirror-vim#276 ·
-
Curly Brace deletion behaving unexpectedlyPeut-être pris @deepanshupal l’a pris il y a 32 jours. Ouverte
Difficulté 3/5 1-2 jours Accessibilité débutants 68/100
replit/codemirror-vim#264 ·
-
`vim-mode-change` not fired on command mode enter/exitPeut-être pris @oller l’a pris il y a 18 jours. Ouverte
Difficulté 3/5 1-2 jours Accessibilité débutants 55/100
replit/codemirror-vim#251 · 1 commentaire ·
-
Difficulté 4/5 3-5 jours Accessibilité débutants 45/100
replit/codemirror-vim#243 ·
Toutes les issues de replit/codemirror-vim
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
Les mainteneurs répondent en général sous 1 jour
-
help wanted Idea 💡 wdio-cli
Difficulté 2/5 1-3 heures Accessibilité débutants 66/100
webdriverio/webdriverio#16361 · 2 commentaires ·
Les mainteneurs répondent en général sous 1 jour
-
clientV2: Application Info header separators show as missing-character boxes without a CJK fontOuvertebug new-client
Difficulté 1/5 1-3 heures Accessibilité débutants 88/100
NUWCDIVNPT/stig-manager#2285 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 88/100
Fei2411/DeepSeek-Bot#922 · 1 réaction ·
-
Workers AI integration drops output of non-streaming chat responses in the OpenAI format (`choices`)OuverteBug Cloudflare Workers Spans
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
getsentry/sentry-javascript#26120 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour