macvim-dev / macvim-dev/macvim
Using dead keys acute and grave/backtick in normal mode doesn't work
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Vim Script
- Sterne
- 7.9k
- Forks
- 691
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
Steps to reproduce
I'm using macOS with a German locale and a German keyboard where ´ (acute) is a dead key and ` (grave/backtick) is produced by hitting shift and ´.
It easier to type ´ as it does not require the shift key. Thus in my .vimrc, I have defined: nmap ´ `
This works fine in Terminal of macOS!
In MacVim, neither ´ nor ` works.
For vowels, I got it working with mappings à la:
nmap ´á `a
nmap ´Á `A
nmap `à `a
nmap `À `A
But this does not work for consonants like b. The error is raised: E78: Unknown mark
Expected behaviour
Both ´b and `b should jump to the mark.
Version of Vim and architecture
9.1.727
Environment
OS: Sequoia, arm64
Terminal: macOS Terminal
$TERM: xterm-256color
$SHELL: /bin/zsh
How MacVim was installed
Homebrew
Logs and stack traces
No response
Vim configuration where issue is reproducable
No response
Issue has been tested with given configuration
- by running MacVim.app from GUI macOS interface
- by running vim/gvim/etc installed by MacVim
- by running other versions of vim (e.g. /usr/bin/vim)
Issue has been tested with no configuration
- by running
mvim --clean(orgvim, supplied by MacVim distribution) - by running
vim --clean(in terminal, supplied by MacVim distribution) - by running
vim --clean(in terminal, other suppliers, e.g. /usr/bin/vim)
Other conditions
- The both Homebrew packages "vim" and "macvim" are installed
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne damit, das Problem in MacVim.app mit mvim --clean zu reproduzieren, und vergleiche es anschließend mit vim --clean im macOS Terminal unter Verwendung der dokumentierten Belegungen für Akut und Gravis. Verfolge die Verarbeitung der Eingabe von Tottasten durch MacVim und die Markierungsbewegungen im Normalmodus; abgeschlossen ist die Arbeit, wenn sowohl ´b als auch `b zur entsprechenden Marke springen, ohne E78.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- macos, vim
- Bereich
- desktop-dev
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 38/100