Random cursor movements when using Vim
Thanks for filing an issue! Please answer the questions below so I can help you.
- iTerm2 version: 3.3.6
- OS version: Mojave
- Attach ~/Library/Preferences/com.googlecode.iterm2.plist here
- Attach a debug log, if possible. Instructions at https://iterm2.com/debuglog
- Are you reporting a performance issue, excessive CPU usage, or a hang? Please attach a sample. Instructions at https://gitlab.com/gnachman/iterm2/wikis/HowToSample
- Are you reporting a crash? Please attach the crash log. Instructions at https://gitlab.com/gnachman/iterm2/wikis/crash-logs
- Are you reporting excessive memory usage? Please attach a heap analysis: https://gitlab.com/gnachman/iterm2/wikis/heapshot
Since a few weeks back, I've been experiencing random cursor movements when editing files with Vim. Upon further experimentation, I came to believe this is caused by an oversensitive detection of three finger taps on the trackpad. These three finger taps were causing iTerm to send click events to Vim, causing the sudden cursor movements. Is there any way I can prevent three finger taps from generating click events? Thanks in advance.
Detailed steps to reproduce the problem:
- Open a file in Vim. The file should be large enough so that you have sufficient space to move the cursor around.
- Enable mouse reporting with
:set mouse=a
- Enter insert mode
- Perform a three finger tap
What happened: The cursor jumps to the location of the mouse pointer.
What should have happened: Nothing.