Last active
July 26, 2024 06:24
-
-
Save u0d7i/01f78999feff1e2a8361 to your computer and use it in GitHub Desktop.
Disable vim automatic visual mode on mouse select
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Disable vim automatic visual mode on mouse select | |
issue: :set mouse-=a | |
add to ~/.vimrc: set mouse-=a | |
my ~/.vimrc for preserving global defaults and only changing one option: | |
source $VIMRUNTIME/defaults.vim | |
set mouse-=a |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you. The trick is to disable the mouse support for Vim. I achieved this by adding the following to the
/etc/vim/vimrc
file.I had to add
syntax on
to enable syntax highlighting.