mirror of
https://github.com/vim/vim
synced 2025-07-16 01:01:58 +00:00
patch 9.1.0895: default history value is too small
Problem: default history value is too small Solution: promote the change from defaults.vim back to the C core, so increase the default 'history' option value from 50 to 200 (Lucca Saccarola) closes: #16129 Signed-off-by: Luca Saccarola <github.e41mv@aleeas.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
60ddb1a140
commit
c0d30eff6d
@ -36,7 +36,6 @@ silent! endwhile
|
||||
" Allow backspacing over everything in insert mode.
|
||||
set backspace=indent,eol,start
|
||||
|
||||
set history=200 " keep 200 lines of command line history
|
||||
set ruler " show the cursor position all the time
|
||||
set showcmd " display incomplete commands
|
||||
|
||||
|
@ -4435,8 +4435,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
See |highlight-default| for the default highlight groups.
|
||||
|
||||
*'history'* *'hi'*
|
||||
'history' 'hi' number (Vim default: 50, Vi default: 0,
|
||||
set to 200 in |defaults.vim|)
|
||||
'history' 'hi' number (Vim default: 200, Vi default: 0)
|
||||
global
|
||||
A history of ":" commands, and a history of previous search patterns
|
||||
is remembered. This option decides how many entries may be stored in
|
||||
|
@ -1305,7 +1305,7 @@ static struct vimoption options[] =
|
||||
SCTX_INIT},
|
||||
{"history", "hi", P_NUM|P_VIM,
|
||||
(char_u *)&p_hi, PV_NONE, NULL, NULL,
|
||||
{(char_u *)0L, (char_u *)50L} SCTX_INIT},
|
||||
{(char_u *)0L, (char_u *)200L} SCTX_INIT},
|
||||
{"hkmap", "hk", P_BOOL|P_VI_DEF|P_VIM,
|
||||
#ifdef FEAT_RIGHTLEFT
|
||||
(char_u *)&p_hkmap, PV_NONE, NULL, NULL,
|
||||
|
@ -704,6 +704,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
895,
|
||||
/**/
|
||||
894,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user