Skip to content

MacVim selects one letter more to the right when selecting by mouse #1618

@eirnym

Description

@eirnym

Steps to reproduce

  1. write text
  2. put cursor in the middle of the word
  3. select backwards few letters by clicking mouse
  4. One letter more to the right has been selected

Screen recording with --clean parameter

MacVim-selection-bug.mov

Expected behaviour

Other editors, input fields and terminals doesn't exhibit this behaviour. They select exactly the text requested to be selected.

I've tried: Notes.app, Terminal.app, Kitty, Alakritty, VSCode/VSCodium, Jetbrains editors, chat apps, various browsers

Screen recording from Notes.app

Notes-selection.mov

Version of MacVim

MacVim r182 (Vim 9.1.1887)

MacVim installation method

GitHub releases

Environment

macOS Version: 15.7.2

Logs and stack traces

Vim and MacVim configuration where issue is reproducable

No response

How was MacVim launched?

  • by launching MacVim.app in macOS (by using the Dock, Spotlight, or the open command)
  • by running mvim/gvim in the terminal

Issue has been tested with clean configuration

  • by running mvim --clean (or gvim, supplied by MacVim distribution). You can also use the File → "New Clean Window" menu item within MacVim.
  • by running vim --clean (in terminal, supplied by MacVim distribution)
  • by running vim --clean (in terminal, other suppliers, e.g. /usr/bin/vim)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions