aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2016-10-26 14:01:49 +0200
committerJustin M. Keyes <justinkz@gmail.com>2016-10-26 14:01:49 +0200
commit90bf31c7421f6bc32703dd8d8a19cd29f06cc63d (patch)
treef55536104ad01303144236dfa31a77af17427086 /runtime
parente350902b7de17583e3a94fa92f736aded0726774 (diff)
parent26b90e95e7bfa8bec29d33642c80dd5c55ff88a7 (diff)
downloadrneovim-90bf31c7421f6bc32703dd8d8a19cd29f06cc63d.tar.gz
rneovim-90bf31c7421f6bc32703dd8d8a19cd29f06cc63d.tar.bz2
rneovim-90bf31c7421f6bc32703dd8d8a19cd29f06cc63d.zip
Merge #5500
Closes #5246
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 70e6953211..4ab5b3c759 100644
--- a/runtime/doc/tabpage.txt
+++ b/runtime/doc/tabpage.txt
@@ -83,14 +83,21 @@ In the GUI tab pages line you can use the right mouse button to open menu.
Execute {cmd} and when it opens a new window open a new tab
page instead. Doesn't work for |:diffsplit|, |:diffpatch|,
|:execute| and |:normal|.
- When [count] is omitted the tab page appears after the current
- one.
- When [count] is specified the new tab page comes after tab
- page [count]. Use ":0tab cmd" to get the new tab page as the
- first one.
+ If [count] is given the new tab page appears after the tab
+ page [count] otherwise the new tab page will appear after the
+ current one.
Examples: >
- :tab split " opens current buffer in new tab page
- :tab help gt " opens tab page with help for "gt"
+ :tab split " opens current buffer in new tab page
+ :tab help gt " opens tab page with help for "gt"
+ :.tab help gt " as above
+ :+tab help " opens tab page with help after the next
+ " tab page
+ :-tab help " opens tab page with help before the
+ " current one
+ :0tab help " opens tab page with help before the
+ " first one
+ :$tab help " opens tab page with help after the last
+ " one
CTRL-W gf Open a new tab page and edit the file name under the cursor.
See |CTRL-W_gf|.
@@ -140,7 +147,7 @@ something else.
:{count}tabo[nly][!]
Close all tab pages except the {count}th one. >
- :.tabonly " one
+ :.tabonly " as above
:-tabonly " close all tab pages except the previous one
:+tabonly " close all tab pages except the next one
:1tabonly " close all tab pages except the first one