Vim enters into visual mode on selecting text after El Capitan update

谁说胖子不能爱 提交于 2019-12-04 01:50:45
Dan Lowe

You probably have the mouse mode active. You can turn it off with:

:set mouse=

And turn it back on with

:set mouse=a

If you are using iTerm, you can leave mouse mode on all the time if you want, and hold Option when you want to select without using visual mode. I am not aware of a way to do that in OS X Terminal.

Update (from Younes in comments): For Terminal.app on El Capitan, press the Fn key to bypass the mouse mode. See this question for more.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!