Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent cursor movement on mouse click #1157

Open
8 tasks done
vtwaldo21 opened this issue Apr 6, 2022 · 0 comments
Open
8 tasks done

Prevent cursor movement on mouse click #1157

vtwaldo21 opened this issue Apr 6, 2022 · 0 comments

Comments

@vtwaldo21
Copy link

vtwaldo21 commented Apr 6, 2022

debug info
{
  "atom": "1.51.0",
  "platform": "linux",
  "release": "3.10.0-1160.59.1.el7.x86_64",
  "vmpVersion": "1.36.7",
  "vmpConfig": {
    "groupChangesWhenLeavingInsertMode": false
  }
}

Read and check all "Checklist" below.

Checklist

You have to check all before open issue.

  • Provide your environment info clipped by Vim Mode Plus: Clip Debug Info command.
  • Try with latest Atom and latest vim-mode-plus (latest available for RHEL7)
  • Pick a descriptive and non-ambiguous subject
  • Express "what" you want(feature? config option?, behavior change?) in short sentence(not long!).
  • Contrast current behavior if you want to change current behavior, with sample text, operation(keystroke) and result.
  • Include real use case so that maintainer can understand "why" you need help.
  • Include Atom(atom --version), vim-mode-plus version, and OS version(e.g. macOS Sierra 10.12.3).
  • If keybinding issue, Read this.

This may just be a N00B question or misunderstanding, but I like Atom and love VMP, but the mouse is killing me. Is there a way to prevent the mouse cursor from moving on click (even if limited to while in insert mode)? Similarly and related, have middle-click-paste paste at the cursor position vice the mouse position? I've seen the latter issue raised a few times in the original vim plugin but never resolved. End result is I just have text inserted at the wrong place all the time.

Background: Having the mouse move around on click is actually incredibly frustrating, which makes me think I'm just doing something wrong. The solution may well be just stop using the mouse but it would be nice if it worked similar to traditional VIM, which is mouse click doesn't move the cursor, but mouse scroll does pan the window (at least I believe that is default VIM behavior, I tried to remove all vimrc configuration before testing)

Thanks for all the good work.

atom --version
Atom : 1.51.0
Electron: 5.0.13
Chrome : 73.0.3683.121
Node : 12.0.0

VMP - 1.36.7

OS: RHEL7.9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant