Hello Tony, thank you for your interesting reply.
Im on Linux. Too bad that its not possible to set the + register as the default. Because thats the one I use all the time in Gnome via CTRL+C and CTRL+V. I dont want to relearn everything and switch to middle-click. I dont even have a middle mouse button on my notebook. Thanks, Gustav Tony Mechelynck-2 wrote: > > On 15/06/10 07:56, gustaffi wrote: >> >>> :h 'clipboard' >> >> Hmm.. this really explains how to make + the default register? If so, i >> dont >> get it. >> >> >> Christian Brabandt-3 wrote: >>> >>> On Tue, June 15, 2010 7:26 am, gustaffi wrote: >>>> everytime I copy or paste something to another app or to vim in another >>>> terminal, I hit "+ to switch to the register the gnome apps can access. >>>> Is >>>> it possible to make that the defaiut register, so I can stop typing "+ >>>> all >>>> the time? >>> >>> :h 'clipboard' >>> >>> regards, >>> Christian >>> >>> -- >>> You received this message from the "vim_use" maillist. >>> Do not top-post! Type your reply below the text you are replying to. >>> For more information, visit http://www.vim.org/maillist.php >>> >>> >> > > If you > :set clipboard=unnamed > everything that goes to or from the unnamed register will go to register > * too. > > - On Windows, "* and "+ are the same, anything in the one is seen in the > other too. > - On X11, "* (the "X selection") is normally used for > middleclick-pasting and selection-highlighting in applications other > than Vim; > - On X11, "+ (the "clipboard") is normally used for Edit->Copy, > Edit->Cut and Edit->Paste. > > So unless you're on Windows, I don't think you can use register + as the > default register. You can use register * though, and middle-click-paste > it in other applications. > > But then, is it useful? This option clobbers your X-selection or your > Windows clipboard even when you're copying inside of a single Vim > session and don't need such clobbering. I prefer to use Vim's unnamed > register by default, and leave the X registers alone unless I explicitly > say to use them, by using "+ for the clipboard or (more rarely) "* to > import a selection, maybe from xterm or similar. > > > Best regards, > Tony. > -- > A person who has both feet planted firmly in the air can be safely > called a liberal. > > -- > You received this message from the "vim_use" maillist. > Do not top-post! Type your reply below the text you are replying to. > For more information, visit http://www.vim.org/maillist.php > > -- View this message in context: http://old.nabble.com/Possible-to-make-the-%2B-Register-the-default--tp28887319p28887838.html Sent from the Vim - General mailing list archive at Nabble.com. -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
