macvim-dev / macvim-dev/macvim

Cursor position on insert

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

Nessuno ha ancora preso questa issue.

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

Descrizione

Steps to reproduce
  1. pull and build latest MacVim
  2. load a file in MacVim (with or without plugins has same effect): mvim -u NONE file
  3. move to the middle of a word, press i to insert text, start typing
Expected behaviour
  • cursor should change shape from block to vertical line between character with block over it and the preceding character
  • what happens is cursor changes shape to vertical line after the character, but inserts text before that character

https://user-images.githubusercontent.com/4978837/165880253-67a8bd3d-6737-4d78-b6e7-99fc22e5f5c1.mp4

Version of Vim and architecture

VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Apr 29 2022 12:54:26) macOS version - arm64 Included patches: 1-4822

Environment

OS Big Sur 11.6.5, arm64

How MacVim was installed

built from git

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

Riprodurre il comportamento del cursore e dell'inserimento in MacVim.app e con mvim --clean usando la configurazione macOS arm64 segnalata. Confrontare la GUI di MacVim con vim/gvim e altre versioni di Vim, incluso il caso di inserimento nel mezzo di una parola. Il lavoro è completato quando la forma del cursore e la posizione di inserimento coincidono durante la digitazione in modalità inserimento.

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

Valutazione

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

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.