:help :&& の項目が存在しない #981

Closed
tyru opened this Issue Nov 19, 2016 · 3 comments

Projects

None yet

2 participants

@tyru
Member
tyru commented Nov 19, 2016

質問・報告の内容

:help & の項目には以下のように :&& へのリンク (?) があります。

&			Synonym for `:s` (repeat last substitute).  Note
			that the flags are not remembered, thus it might
			actually work differently.  You can use `:&&` to keep
			the flags.

しかし :&& という項目が存在しないためジャンプに失敗します。

Vimのバージョン

8.0

パッチ

diff --git a/runtime/doc/change.txt b/runtime/doc/change.txt
index 6dced7b..a9ff933 100644
--- a/runtime/doc/change.txt
+++ b/runtime/doc/change.txt
@@ -684,6 +684,7 @@ g&			Synonym for `:%s//~/&` (repeat last substitute with
 							*:s_flags*
 The flags that you can use for the substitute commands:
 
+							*:&&*
 [&]	Must be the first one: Keep the flags from the previous substitute
 	command.  Examples: >
 		:&&
@crazymaster
Member

fixed by vim/vim@5162822#diff-6f4e6b28f96d34117747184976b738dc
コミット間違えているw

@crazymaster crazymaster closed this Dec 2, 2016
@tyru
Member
tyru commented Dec 2, 2016

ありがとうございます。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment