summaryrefslogtreecommitdiffstats
path: root/src/testdir/test_mapping.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/testdir/test_mapping.in')
-rw-r--r--src/testdir/test_mapping.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/testdir/test_mapping.in b/src/testdir/test_mapping.in
index d6c1b2d5db..f900f421e2 100644
--- a/src/testdir/test_mapping.in
+++ b/src/testdir/test_mapping.in
@@ -45,6 +45,21 @@ o+
:/^a b
0qqdw.ifooqj0@q:unmap .
+:" <c-g>U<cursor> works only within a single line
+:imapclear
+:imap ( ()<c-g>U<left>
+G2oki
+Test1: text with a (here some more textk.
+:" test undo
+G2oki
+Test2: text wit a (here some more text [und undo]uk.u
+:"
+:imapclear
+:set whichwrap=<,>,[,]
+G3o2k
+:exe ":norm! iTest3: text with a (parenthesis here\<C-G>U\<Right>new line here\<esc>\<up>\<up>."
+
+
:/^test/,$w! test.out
:qa!