aboutsummaryrefslogtreecommitdiff
path: root/test/vim/operators/replace/replace.keys
diff options
context:
space:
mode:
Diffstat (limited to 'test/vim/operators/replace/replace.keys')
-rw-r--r--test/vim/operators/replace/replace.keys10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/vim/operators/replace/replace.keys b/test/vim/operators/replace/replace.keys
new file mode 100644
index 0000000..ef8b57f
--- /dev/null
+++ b/test/vim/operators/replace/replace.keys
@@ -0,0 +1,10 @@
+t{r<Enter> /* replace space with new line */
+/---<Enter>
+3r= /* replace --- with === */
+n /* advance to next match */
+. /* repeat */
+r<Escape> /* cancel, should not alter text */
+n /* advance to next match */
+v2e /* select something in visual mode */
+r<Escape> /* cancel, should not alter text */
+r= /* replace selection */