On 11-Feb-13 14:55:48 +0100, Dimitar DIMITROV wrote:

> [7 lines deleted]
> 
> Also, I can't make sense of the help for 'unnamedplus.
> It reads that all operations except yank go to "+, then first thing it says
> after is yank copies to "+.
> Can someone explain?

Yes, I also found this confusing when I once looked into this new option flag
(see
http://groups.google.com/group/vim_dev/browse_thread/thread/431ea378c423958/916a2f948b117a6a
for the discussion around v:register, and my conclusion at the end).

Here's a proposed doc update, based on my understanding and experiments; I think
this is way clearer than the original text:


#v+
diff -r ba8835947b8b runtime/doc/options.txt
--- a/runtime/doc/options.txt   Wed Feb 06 19:58:43 2013 +0100
+++ b/runtime/doc/options.txt   Mon Feb 11 17:07:25 2013 +0100
@@ -1463,11 +1463,13 @@
                        |gui-clipboard|.

                                                *clipboard-unnamedplus*
-       unnamedplus     A variant of "unnamed" flag which uses the clipboard
-                       register '+' (|quoteplus|) instead of register '*' for
-                       all operations except yank.  Yank shall copy the text
-                       into register '+' and also into '*' when "unnamed" is
-                       included.
+       unnamedplus     A variant of the "unnamed" flag which uses the
+                       clipboard register '+' (|quoteplus|; instead of '*')
+                       for all yank, delete, change and put operations which
+                       would normally go to the unnamed register.  When
+                       "unnamed" is also added to the option, yank operations
+                       (but not delete, change or put) will additionally copy
+                       the text into register '*'.
                        Only available with the |+X11| feature.
                        Availability can be checked with: >
                                if has('unnamedplus')
#v-

-- regards, ingo

-- 
-- 
You received this message from the "vim_dev" 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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Raspunde prin e-mail lui