summaryrefslogtreecommitdiff
path: root/runtime/doc/starting.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2006-02-18 22:14:51 +0000
committerBram Moolenaar <Bram@vim.org>2006-02-18 22:14:51 +0000
commit7e8fd63682801d6cdd7f31972540c21f148b289e (patch)
treecbc44d7f10ef0a87454582fbff40fe930bacc6b6 /runtime/doc/starting.txt
parent997fb4ba696625e27e17c00d5033b20411aa45a3 (diff)
downloadvim-7e8fd63682801d6cdd7f31972540c21f148b289e.zip
updated for version 7.0201
Diffstat (limited to 'runtime/doc/starting.txt')
-rw-r--r--runtime/doc/starting.txt14
1 files changed, 13 insertions, 1 deletions
diff --git a/runtime/doc/starting.txt b/runtime/doc/starting.txt
index d21a52dc2..0b64ca3a1 100644
--- a/runtime/doc/starting.txt
+++ b/runtime/doc/starting.txt
@@ -1,4 +1,4 @@
-*starting.txt* For Vim version 7.0aa. Last change: 2006 Feb 14
+*starting.txt* For Vim version 7.0aa. Last change: 2006 Feb 18
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -374,6 +374,13 @@ a slash. Thus "-R" means recovery and "-/R" readonly.
the command line determines how the windows will be split.
{not in Vi}
+ *-p*
+-p[N] Open N tab pages. If [N] is not given, one tab page is opened
+ for every file given as argument. The maximum is 10 tab
+ pages. If there are more tab pages than arguments, the last
+ few tab pages will be editing an empty file.
+ {not in Vi}
+
*-T*
-T {terminal} Set the terminal type to "terminal". This influences the
codes that Vim will send to your terminal. This is normally
@@ -831,6 +838,8 @@ accordingly. Vim proceeds in this order:
11. Open all windows
When the |-o| flag was given, windows will be opened (but not
displayed yet).
+ When the |-p| flag was given, tab pages will be created (but not
+ displayed yet).
When switching screens, it happens now. Redrawing starts.
If the "-q" flag was given to Vim, the first error is jumped to.
Buffers for all windows will be loaded.
@@ -1203,6 +1212,9 @@ An example mapping: >
:nmap <F2> :wa<Bar>exe "mksession! " . v:this_session<CR>:so ~/sessions/
This saves the current Session, and starts off the command to load another.
+A session only includes the current tab page. There currently is no option to
+store all tab pages. |tab-page|
+
The |SessionLoadPost| autocmd event is triggered after a session file is
loaded/sourced.
*SessionLoad-variable*