How to disable automatic visual mode during mouse selection in vim editor
In latest version of Linux, vim editor will automatically switched to visual mode when there is a mouse selection.
Actually its a new feature enabled by the vim developer team. But we could not copy any thing from vim editor using mouse which is a drawback.
This problem can be solved by running the following command.
#echo "set mouse-=a" >> ~/.vimrc
It will disable the visual mode during mouse selection.
That's all…