macvim-dev / macvim-dev/macvim
Feature Request: Support Shift-F10 to invoke right-click context menu
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- Vim Script
- Estrellas
- 7.9k
- Forks
- 691
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
Apologies if this is a duplicate. I searched and couldn't find an existing issue.
Unfortunately, macOS doesn't natively support invoking the right-click context menu from the keyboard as is possible with the menu keyboard button or SHIFT-F10 on Windows and Linux. The solution associated with the accessibility feature to invoke CTRL-5(number pad) is insufficient because it opens the context menu where the mouse pointer is, not where the text cursor is.
However, third party applications such as Eclipse and IntelliJ on macOS do support this feature with custom application code. Eclipse implemented such functionality in this bugzilla: https://bugs.eclipse.org/bugs/show_bug.cgi?id=219305
This feature request covers adding this functionality to MacVim via the SHIFT-F10 keyboard combination. To be clear, the behaviour is to open the context menu at the keyboard arrow key cursor location, as opposed to the mouse cursor location. For example, this means when moving a keyboard cursor over a misspelled word, the context menu will display with, among other things, suggested spelling corrections for that word, irrespective of where the mouse pointer happens to be.
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 fuente, pruebas ni puntos de entrada. Empieza localizando el manejo de Shift-F10 en MacVim y su invocación existente del menú contextual; después, sigue cómo se determina la posición del cursor del teclado. El trabajo estará terminado cuando Shift-F10 abra el menú contextual en la posición del cursor del teclado en lugar de en la del puntero del ratón, también para palabras mal escritas.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- macos, vim
- Área
- accessibility, desktop
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100