Results 1 to 2 of 2
With "mouse=a" in .vimrc I use the mouse scroll button to cruise through my files, and left clicking to jump locations.
Without "mouse=a" in .vimrc I enjoy traditional x-windows copy ...
- 10-19-2006 #1Banned
- Join Date
- Apr 2006
- Posts
- 35
VIM config: mouse support AND x-windows copy & paste
With "mouse=a" in .vimrc I use the mouse scroll button to cruise through my files, and left clicking to jump locations.
Without "mouse=a" in .vimrc I enjoy traditional x-windows copy and paste features (highlight and middle click).
I would like the best of both worlds. Anyone know how to have mouse function in vim without losing x-windows function? Thanks in advance.
- 10-19-2006 #2Linux Engineer
- Join Date
- Oct 2004
- Location
- Vancouver
- Posts
- 1,366
you can manually map the mouse keys with :map <mousebutton> <command>, so to scroll down just add :map <MouseDown> <C-Y> to your .vimrc. This was you can set the mouse to exactly how you want it to work.
You will really fly then


Reply With Quote
