views:

517

answers:

1

Ok, have a very specific setup question. I'm using Mac OS X, iTerm, and vim. I really like using my mouse for clicking tabs in normal mode, scrolling in normal mode etc. (e.g. I already have the mouse working within iTerm/vim).

However, I dislike using visual mode for selecting. I just want to use OS X selection not vim's visual select. The next logical step? Disable visual selection in the mouse options:

set mouse=nicr

The problem with this is that when I try to select (using the mouse) vim intercepts the mouse click and doesn't allow me to select at all!

Anyone know how deal with this issue? It feels like its solvable if one knew the proper character/control codes (which I obviously do not).

Goal: use the mouse in vim for everything except "select". Let iTerm/OS do the selection.

+1  A: 

I don't have a Mac, but under Linux holding Shift while highlighting allows you to use the mouse to copy with the mouse settings you mentioned.

See the "Note:" in :h mouse

Randy Morris
rson, thanks for you response. On my mac the correct key is alt/option. That works perfectly, thanks so much! (It seems so obvious now...)
Nate Murray