Make Ctrl+E accept inline autocomplete suggestions
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- Shell
- Estrellas
- 11.2k
- Forks
- 1.9k
- Merge medio
- 14 h 16 min
- PR fusionados (30 d)
- 6
Descripción
Describe the feature or problem you'd like to solve
When an inline suggestion is visible, Ctrl+E should accept it, matching common Emacs-style terminal behavior. Otherwise, it should continue moving the cursor to the end of the line.
Proposed solution
Make Ctrl+E context-sensitive:
• If an inline suggestion is visible, accept the entire suggestion.
• If no inline suggestion is visible, keep the existing behavior of moving the cursor to the end of the line.
Example prompts or workflows
I type:
Explain the changes in src/
Copilot displays a ghost suggestion:
Explain the changes in src/auth.ts since the last commit
Pressing Ctrl+E should accept the full ghost text. If there is no ghost suggestion, Ctrl+E should simply move the cursor to the end of the current line.
Additional context
No response
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Línea de trabajo
El issue no menciona archivos ni pruebas del repositorio. Empieza por localizar el manejo de teclas de Ctrl+E de la CLI y el punto de entrada para aceptar sugerencias en línea; después, sigue el comportamiento existente al final de la línea. La tarea estará terminada cuando Ctrl+E acepte la sugerencia visible completa y siga desplazándose al final de la línea cuando no haya ninguna sugerencia; añade o ejecuta las pruebas de interacción con el terminal pertinentes si están disponibles.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- shell
- Área
- cli
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Activo
- Claridad
- Bien especificado
- Aptitud para principiantes
- 68/100