From 27710a2224d6dd0486d1c40d09ef18dd752e7d37 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Thu, 9 Sep 2010 11:00:28 -0400 Subject: [PATCH] Add rob-fortune's mnemonic for "ys" --- doc/surround.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/surround.txt b/doc/surround.txt index 4387fa2..959fed4 100644 --- a/doc/surround.txt +++ b/doc/surround.txt @@ -50,8 +50,8 @@ below in |surround-replacements|. Once again, examples are in order.
Yo!*
cst

Yo!

*ys* takes a valid Vim motion or text object as the first object, and wraps -it using the second argument as with |cs|. (Unfortunately there's no good -mnemonic for "ys".) +it using the second argument as with |cs|. (It's a stretch, but a good +mnemonic for "ys" is "you surround".) Old text Command New text ~ Hello w*orld! ysiw) Hello (world)!