defaults: set 'tabpagemax' to 50 by default. #2869

Re: https://github.com/neovim/neovim/issues/2676
This commit is contained in:
Felipe Morales 2015-06-20 16:10:29 -03:00 committed by Justin M. Keyes
parent 2c40d117e6
commit 8963285530
4 changed files with 5 additions and 4 deletions

View File

@ -6382,7 +6382,7 @@ A jump table for the options with a short description can be found at |Q_op|.
*'tabpagemax'* *'tpm'*
'tabpagemax' 'tpm' number (default 10)
'tabpagemax' 'tpm' number (default 50)
global
{not available when compiled without the |+windows|
feature}

View File

@ -300,7 +300,7 @@ argument.
*-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 set with
'tabpagemax' pages (default 10). If there are more tab pages
'tabpagemax' pages (default 50). If there are more tab pages
than arguments, the last few tab pages will be editing an
empty file. Also see |tabpage|.
*-d*

View File

@ -42,6 +42,7 @@ these differences.
- 'nocompatible' is always set
- 'nrformats' defaults to "hex"
- 'smarttab' is set by default
- 'tabpagemax' defaults to 50
- 'tags' defaults to "./tags;,tags"
- 'ttyfast' is always set
- 'wildmenu' is set by default

View File

@ -1472,9 +1472,9 @@ static vimoption_T
{"tabline", "tal", P_STRING|P_VI_DEF|P_RALL,
(char_u *)&p_tal, PV_NONE,
{(char_u *)"", (char_u *)0L} SCRIPTID_INIT},
{"tabpagemax", "tpm", P_NUM|P_VI_DEF,
{"tabpagemax", "tpm", P_NUM|P_VIM,
(char_u *)&p_tpm, PV_NONE,
{(char_u *)10L, (char_u *)0L} SCRIPTID_INIT},
{(char_u *)10L, (char_u *)50L} SCRIPTID_INIT},
{"tabstop", "ts", P_NUM|P_VI_DEF|P_RBUF,
(char_u *)&p_ts, PV_TS,
{(char_u *)8L, (char_u *)0L} SCRIPTID_INIT},