macvim-dev / macvim-dev/macvim
Add a feature to map left Option `⌥` key to Meta
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
Is your feature request about something that is currently impossible or hard to do? Please describe the problem.
I don't really use accented characters using the macOS compose key. So I like to treat the left Option key as an additional modifier for more key mapping space. Creating these mappings for the text version of vim running inside of iTerm works great because I have the setting "Left Option key: Esc+".
The problem is that in MacVim, the Left Option key continues to act like the macOS Compose key. That means that I have to add to my .vimrc a bunch of mappings like:
nmap ß <M-s>
imap ß <M-s>
Describe the solution you'd like
Like VimR, let me map the left Option key as Meta:

Describe alternatives you've considered
Add a bunch of alias mappings like:
nmap ß <M-s>
imap ß <M-s>
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
Das Issue nennt MacVim, VimR und .vimrc-Zuordnungen, enthält aber keine Quelldateien oder Tests. Beginne damit, die macOS-Tastaturverarbeitung von MacVim zu finden und zu vergleichen, wie VimR die linke Option-Taste behandelt. Als abgeschlossen gilt die Arbeit, wenn die linke Option-Taste als Meta konfiguriert werden kann, ohne die aufgeführten Alias-Zuordnungen zu benötigen.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- macos, vim
- Bereich
- desktop
- Issue-Typ
- Feature
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100