edenzik / macvim

Automatically exported from code.google.com/p/macvim
0 stars 0 forks source link

Feature: Copy text on selection #241

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Since I come from the Linux world, it would be handy for macvim to have an 
option for copying 
text on clipboard when it is highlighted.

This option is available, for instance, in iTerm.

What steps will reproduce the problem?

Select text in macvim. 

What is the expected output? What do you see instead?

Text should be copied to the clipboard.
Currently this does not happen. 

What version of MacVim and OS X are you using (see "MacVim->About MacVim"
and  "Apple Menu->About This Mac" menu items, e.g. "Snapshot 40, 10.5.6
Intel")?

Snapshot 51, 10.6.2 Intel

Please provide any additional information below.

Original issue reported on code.google.com by satri...@gmail.com on 3 Dec 2009 at 12:00

GoogleCodeExporter commented 9 years ago
You have to set the "a" flag in 'guioptions', e.g. add the line "set go+=a" to 
your ~/.vimrc.

Unfortunately this feature is currently broken but I just pushed a patch that 
fixes it.  You can build from sources 
if you want this feature _now_, or wait until the next snapshot is released 
(snap 52 will include this patch).

Original comment by bjorn.winckler@gmail.com on 3 Dec 2009 at 5:10