How do I make gvim ignore mouse clicks. I'm really sick of the trackpad making my cursor all over the place. I use xubuntu if that means anything.
|
feedback
|
|
I use:
This sets it to command-line mode. You can read about all of the options by typing,
To avoid needing to type the command each time, you can put it in your ~/.vimrc | |||
|
feedback
|
see also: http://vimdoc.sourceforge.net/htmldoc/term.html#mouse-using | |||
|
feedback
|
|
As akira said, you can disable the mouse entirely, but you can also selectively disable mouse buttons by mapping them to
You can even do it for double clicks:
See:
| |||
|
feedback
|
|
I had same problem and though one can disable mouse/touchpad entirely there is a better solution: to disable touchpad while typing. For Ubuntu there is a how-to. | |||
|
feedback
|
