Disable Vim Auto Visual Mode

centos

If you’re diving into the world of Vim on Linux, getting the hang of its different modes is crucial. One of these modes, Visual Mode, is handy for selecting and editing text.

But for many users, it can be a bit tricky and unnecessaries. And this is how you may disable it.


Few option to get your classical selecting text with mouse while in vim:

Option A

  1. :set mouse-=a
  2. If want to re-enable do, :set mouse=a
  3. Update your .vimrc with set mouse-=a to make any changes permanent.

Option B

  1. Hold shift while selecting with mouse