diff options
Diffstat (limited to 'runtime/doc/starting.txt')
-rw-r--r-- | runtime/doc/starting.txt | 14 |
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* |