Commit: runtime(tutor): Update Chapter 2, remove mentioning surround plugin

0 views
Skip to first unread message

Christian Brabandt

unread,
Dec 17, 2025, 5:15:51 PM (9 hours ago) Dec 17
to vim...@googlegroups.com
runtime(tutor): Update Chapter 2, remove mentioning surround plugin

Commit: https://github.com/vim/vim/commit/1e3e1ba067c79aa2c7f0d53ed1e102089a29e692
Author: Christian Brabandt <c...@256bit.org>
Date: Wed Dec 17 23:13:36 2025 +0100

runtime(tutor): Update Chapter 2, remove mentioning surround plugin

fixes: https://github.com/vim/vim/issues/18950

Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/runtime/tutor/en/vim-02-beginner.tutor b/runtime/tutor/en/vim-02-beginner.tutor
index 0f2521e88..46cbf75b3 100644
--- a/runtime/tutor/en/vim-02-beginner.tutor
+++ b/runtime/tutor/en/vim-02-beginner.tutor
@@ -42,7 +42,7 @@ Test cases: {curly}, [square], <angle>, and "quoted" items.

4. Advanced combinations:
- `ciwnew<ESC>`{normal} - Change current word to "new"
- - `yss"<ESC>`{normal} - Wrap entire line in quotes (vim-surround plugin style)
+ - `ciw"<CTRL>-"<ESC>`{normal} - (Note: This is Ctrl-Minus): wrap current word in quotes
- `gUit`{normal} - Uppercase inner HTML tag content
- `va"p`{normal} - Select quoted text and paste over it

@@ -276,6 +276,7 @@ REFERENCE: [Marks](marks)
- `"+`{normal}/`"*`{normal} - System clipboard (OS dependent)
- `"_`{normal} - Blackhole (discard deleted/yanked text)
- `"=`{normal} - Expression register
+ - `"-`{normal} - Small delete register


# CONCLUSION
diff --git a/runtime/tutor/tutor2 b/runtime/tutor/tutor2
index 4b22d3db2..47d030c87 100644
--- a/runtime/tutor/tutor2
+++ b/runtime/tutor/tutor2
@@ -40,7 +40,7 @@

4. Advanced combinations:
- ciwnew<ESC> - Change current word to "new"
- - yss"<ESC> - Wrap entire line in quotes (vim-surround plugin style)
+ - ciw"<Ctrl>-"<ESC> - (Note: This is Ctrl-Minus): wrap current word in quotes
- gUit - Uppercase inner HTML tag content
- va"p - Select quoted text and paste over it

@@ -281,6 +281,7 @@ REFERENCE: Marks :h marks
- "+/"* - System clipboard (OS dependent)
- "_ - Blackhole (discard deleted/yanked text)
- "= - Expression register
+ - "- - Small delete register

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Reply all
Reply to author
Forward
0 new messages