enable mouse in vim

Posted on 三月 12, 2009. Filed under: Linux |

http://snpshu.blog.pingtung.org/post/2/68

"使用m$模式
source $VIMRUNTIME/mswin.vim
behave mswin
"使用mouse
set mouse=a
"指定term模式
set ttymouse=xterm2
"切換滑鼠模式快速鍵
map m :set mouse=a<CR>
map <Leader>m :set mouse=<CR>

Make a Comment

Make a Comment: ( None so far )

blockquote and a tags work here.

Liked it here?
Why not try sites on the blogroll...