macvim-dev / macvim-dev/macvim

Using dead keys acute and grave/backtick in normal mode doesn't work

Aperta
#1,519 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Input
Lingua principale
Vim Script
Stelle
7.9k
Fork
691
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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 (or gvim, 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

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Inizia riproducendo il problema in MacVim.app con mvim --clean, quindi confrontalo con vim --clean nel macOS Terminal usando le mappature documentate per acuto e grave. Traccia la gestione da parte di MacVim dell’input da tasto morto e dei movimenti verso i mark in modalità normale; il lavoro è completato quando sia ´b sia `b saltano al mark corrispondente senza E78.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
macos, vim
Ambito
desktop-dev
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
38/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.