1)先按shift ,然后鼠标选中即可复制;(shift按下时为非vim环境)
2)好方法:
"Enable and disable mouse use noremap <f1> :call ToggleMouse() <CR> function! ToggleMouse() if &mouse == 'a' set mouse= set nonumber echo "Mouse usage disabled" else set mouse=a set number echo "Mouse usage enabled" endif endfunction
;;;
f1 切换环境;