bitbucket
bitbucket

Reputation: 1171

vim, any way to copy'n paste, using the mouse, without using shift

I'm used to most X11 apps that copy'n paste with a simple middle mouse key. In vim I must remember to hold the shift key. Is there any way in vim to copy'n paste using the mouse without the shift key?

Upvotes: 1

Views: 1165

Answers (2)

bitbucket
bitbucket

Reputation: 1171

I needed to get the vim with the GTK2-GNOME GUI libs.

before the Ubuntu Karmic install was VIM - Vi IMproved 7.2 (2008 Aug 9, compiled Sep 21 2009 11:25:46) Included patches: 1-245 Compiled by [email protected] Huge version without GUI. Features included (+) or not (-):

now the version is VIM - Vi IMproved 7.2 (2008 Aug 9, compiled Sep 21 2009 11:22:21) Included patches: 1-245 Compiled by [email protected] Huge version with GTK2-GNOME GUI. Features included (+) or not (-):

Now the left mouse button selects and pastes in to X apps.

Upvotes: 0

Stephen
Stephen

Reputation: 49156

I believe you don't need the shift key if you're in insert mode.

Edit: Actually, I never need to hit shift.

Upvotes: 1

Related Questions