<< Build Urho3D on arm-device | Home | NFS and friends on RPI with openmediavault >>

VIM: deactivate automatic visualmode on mouse-selection


One of the most annoying things is for me when (VIM(editor))[https://www.vim.org/] is switching to visualmode when you use the mouse-select. Especially this is the case on (armbian-systems)[https://www.armbian.com/].

I stumbled over a (github-comment)[https://gist.github.com/u0d7i/01f78999feff1e2a8361#gistcomment-3008129] which has te solution. Just do this:

echo "syntax enable" >> ~/.vimrc
echo "set mouse-=a" >> ~/.vimrc

Do make it clear. I hate visualmode ;) Really, I do!

Tags : , ,