vim设立支持鼠标,光标定位,滚轮上下移动

vim设置支持鼠标,光标定位,滚轮上下移动

如何设置在vim中,鼠标可以控制光标快速定位?

临时设置

:set mouse=a

长久设置,在~/.vimrc中添加

set mouse=a