From abd1b1ff4253a8d9c4797f402c20277f6235f750 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Tue, 20 Aug 2024 06:25:48 +0800 Subject: [PATCH] vim-patch:175a87c: runtime(doc): more clarification for the :keeppatterns needed https://github.com/vim/vim/commit/175a87c7f163e34876c6848f829970fec61fc9d7 Co-authored-by: Christian Brabandt --- runtime/doc/cmdline.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/runtime/doc/cmdline.txt b/runtime/doc/cmdline.txt index 0062a22be3..e739dc3da7 100644 --- a/runtime/doc/cmdline.txt +++ b/runtime/doc/cmdline.txt @@ -348,7 +348,8 @@ terminals) :keepp[atterns] {command} *:keepp* *:keeppatterns* Execute {command}, without adding anything to the search - history or modifying the last substitute string for |:&|. + history and, in case of the the |:s| and |:&| command, without + modifying the last substitute pattern and substitute string. ============================================================================== 2. Command-line completion *cmdline-completion*