Hi.

:keeppatterns s/foo/bar/

This shouldn't remain the pattern on @/, I think.

diff -r 7818ca6de3d0 src/search.c
--- a/src/search.c      Wed Dec 11 18:53:29 2013 +0100
+++ b/src/search.c      Tue Dec 17 17:19:54 2013 +0900
@@ -201,7 +201,7 @@
      * Save the currently used pattern in the appropriate place,
      * unless the pattern should not be remembered.
      */
-    if (!(options & SEARCH_KEEP))
+    if (!(options & SEARCH_KEEP) && !cmdmod.keeppatterns)
     {
        /* search or global command */
        if (pat_save == RE_SEARCH || pat_save == RE_BOTH)

-- 
-- 
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