macvim-dev / macvim-dev/macvim

MacVim incerts dot on a double space

Open
#1,318 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Input
Dominant language
Vim Script
Stars
7.9k
Forks
691
PR merge metrics
No merged PRs in 30d

Description

Steps to reproduce
  1. Open new file and enter insert mode
  2. "a b" (2 spaces)
  3. Observed: standard macOS replacement would be in place "a . b"

Issue is GUI-specific as too much "modernisation" in place

Expected behaviour

I'll see "a b" on a screen

I'd expect also a regression test for this case.

Version of Vim and architecture

arm64

Environment

macOS 12

How MacVim was installed

Github

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the behavior with MacVim.app or mvim --clean, then compare it with vim --clean in the terminal as described. Locate the MacVim GUI path responsible for the double-space behavior and add a regression test confirming that a b remains unchanged on screen.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, vim
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.