diff options
author | Bram Moolenaar <Bram@vim.org> | 2012-07-06 18:27:39 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2012-07-06 18:27:39 +0200 |
commit | 8cb8dca2f0683a29a2cb441a8cd995d25c29d79c (patch) | |
tree | 5f470668d9ab29bac417a4d2083ebb8bb3cdb008 /src/testdir/test62.in | |
parent | 0306ac33a53114113825242d22d103ee0e3504f9 (diff) | |
download | vim-git-8cb8dca2f0683a29a2cb441a8cd995d25c29d79c.tar.gz |
updated for version 7.3.591v7.3.591
Problem: Can only move to a tab by absolute number.
Solution: Move a number of tabs to the left or the right. (Lech Lorens)
Diffstat (limited to 'src/testdir/test62.in')
-rw-r--r-- | src/testdir/test62.in | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/testdir/test62.in b/src/testdir/test62.in index 1e514cd21..fd1844bdc 100644 --- a/src/testdir/test62.in +++ b/src/testdir/test62.in @@ -93,6 +93,34 @@ STARTTEST :endif :" :" +:for i in range(9) | tabnew | endfor +1gt +Go=tabpagenr()
+:tabmove 5 +i=tabpagenr()
+:tabmove -2 +i=tabpagenr()
+:tabmove +4 +i=tabpagenr()
+:tabmove +i=tabpagenr()
+:tabmove -20 +i=tabpagenr()
+:tabmove +20 +i=tabpagenr()
+:3tabmove +i=tabpagenr()
+:7tabmove 5 +i=tabpagenr()
+:let a='No error caught.' +:try +:tabmove foo +:catch E474 +:let a='E474 caught.' +:endtry +i=a
+:" +:" :/^Results/,$w! test.out :qa! ENDTEST |