macvim-dev / macvim-dev/macvim
Cursor position on insert
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
- pull and build latest MacVim
- load a file in MacVim (with or without plugins has same effect):
mvim -u NONE file - 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(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
Reproduziere das Cursor- und Einfügeverhalten in MacVim.app und mit mvim --clean unter Verwendung der gemeldeten arm64-macOS-Konfiguration. Vergleiche die GUI von MacVim mit vim/gvim und anderen Vim-Versionen, einschließlich des Einfügens in der Wortmitte. Als erledigt gilt dies, wenn Cursorform und Einfügeposition beim Tippen im Einfügemodus übereinstimmen.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- macos, vim
- Bereich
- desktop
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100