I am proposing the attached patch to doc/pattern.txt because the fact
that the helptags for /~ and /\~ are synonymous seems to be confusing
to newbies. See the thread "New in VIM" in vim_use,
https://groups.google.com/forum/#!topic/vim_use/oCrKyKp0KVY

Best regards,


Tony.

-- 
-- 
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/d/optout.
--- a/runtime/doc/pattern.txt   2015-12-24 01:28:35.676400101 +0100
+++ b/runtime/doc/pattern.txt   2015-12-26 15:31:42.121831391 +0100
@@ -397,16 +397,17 @@
 special meaning.  "very nomagic"
 
 Examples:
 after:   \v       \m       \M       \V         matches ~
                'magic' 'nomagic'
          $        $        $        \$         matches end-of-line
          .        .        \.       \.         matches any character
          *        *        \*       \*         any number of the previous atom
+         ~        ~        \~       \~         latest substitute string
          ()       \(\)     \(\)     \(\)       grouping into an atom
          |        \|       \|       \|         separating alternatives
          \a       \a       \a       \a         alphabetic character
          \\       \\       \\       \\         literal backslash
          \.       \.       .        .          literal dot
          \{       {        {        {          literal '{'
          a        a        a        a          literal 'a'
 

Raspunde prin e-mail lui