aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorJurica Bradaric <jbradaric@gmail.com>2016-01-27 22:49:48 +0100
committerJurica Bradaric <jbradaric@gmail.com>2016-01-28 18:25:25 +0100
commita31f9161b09f3500385e99b076b3d8328de47dd7 (patch)
tree970e5c2d0b383f23e2b31d63a6f7645e90b86461 /runtime
parent50393ef17831a24a57e68812f9cadf186c650ab9 (diff)
downloadrneovim-a31f9161b09f3500385e99b076b3d8328de47dd7.tar.gz
rneovim-a31f9161b09f3500385e99b076b3d8328de47dd7.tar.bz2
rneovim-a31f9161b09f3500385e99b076b3d8328de47dd7.zip
vim-patch:7.4.709
Problem: ":tabmove" does not work as documented. Solution: Make it work consistently. Update documentation and add tests. (Hirohito Higashi) https://github.com/vim/vim/commit/40ce3a4e1f50badb75ca812e26557a9bc5fde8c6
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/tabpage.txt23
1 files changed, 15 insertions, 8 deletions
diff --git a/runtime/doc/tabpage.txt b/runtime/doc/tabpage.txt
index 13944dc02a..59c4a28ff2 100644
--- a/runtime/doc/tabpage.txt
+++ b/runtime/doc/tabpage.txt
@@ -197,22 +197,29 @@ REORDERING TAB PAGES:
Move the current tab page to after tab page N. Use zero to
make the current tab page the first one. Without N the tab
page is made the last one. >
+ :.tabmove " do nothing
:-tabmove " move the tab page to the left
- :tabmove " move the tab page to the right
- :.tabmove " as above
- :+tabmove " as above
+ :+tabmove " move the tab page to the right
:0tabmove " move the tab page to the beginning of the tab
" list
- :$tabmove " move the tab page to the end of the tab list
-<
+ :tabmove 0 " as above
+ :tabmove " move the tab page to the last
+ :$tabmove " as above
+ :tabmove $ " as above
+
:tabm[ove] +[N]
:tabm[ove] -[N]
Move the current tab page N places to the right (with +) or to
- the left (with -).
+ the left (with -). >
+ :tabmove - " move the tab page to the left
+ :tabmove -1 " as above
+ :tabmove + " move the tab page to the right
+ :tabmove +1 " as above
+
Note that although it is possible to move a tab behind the N-th one by using
-:Ntabmove, it is impossible to move it by N places by using :+Ntabmove. For
-clarification what +N means in this context see |[range]|.
+:Ntabmove. And move it by N places by using :+Ntabmove. For clarification what
++N means in this context see |[range]|.
LOOPING OVER TAB PAGES: