emacs-evil / emacs-evil/evil

Unintented selection when clicking Emacs window in evil-normal-mode

Open
#355 0 comments 0 reactions 0 assignees View on GitHub
bug major
Dominant language
Emacs Lisp
Stars
3.9k
Forks
307
PR merge metrics
No merged PRs in 30d

Description

Originally reported by: **Anonymous**

----------------------------------------

Using X11, when I select text in another window and click the Emacs window in order to paste it, it often happens that if I'm in evil-normal-mode, the newline character is selected, even though I don't drag the mouse. It doesn't happen always, but often enough to be quite inconvenient, because the newly highlighted newline character replaces the original X selection that I wanted to paste.

I suspect the fact that Evil extends the visual selection to the char under point is related.

Is there an Evil customization that has the visual selection not include the char under point? Maybe that would alleviate the problem.

----------------------------------------
- Bitbucket: https://bitbucket.org/lyro/evil/issue/355

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.