forked from aniani/vim
patch 7.4.2278
Problem: New users have no idea of the 'scrolloff' option. Solution: Set 'scrolloff' in defaults.vim.
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
" The default vimrc file.
|
" The default vimrc file.
|
||||||
"
|
"
|
||||||
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||||
" Last change: 2016 Aug 21
|
" Last change: 2016 Aug 28
|
||||||
"
|
"
|
||||||
" This is loaded if no vimrc file was found.
|
" This is loaded if no vimrc file was found.
|
||||||
" Except when Vim is run with "-u NONE" or "-C".
|
" Except when Vim is run with "-u NONE" or "-C".
|
||||||
@@ -31,6 +31,9 @@ set ttimeoutlen=100 " wait up to 100ms after Esc for special key
|
|||||||
" Show @@@ in the last line if it is truncated.
|
" Show @@@ in the last line if it is truncated.
|
||||||
set display=truncate
|
set display=truncate
|
||||||
|
|
||||||
|
" Show a few lines of context around the cursor.
|
||||||
|
set scrolloff=5
|
||||||
|
|
||||||
" Do incremental searching when it's possible to timeout.
|
" Do incremental searching when it's possible to timeout.
|
||||||
if has('reltime')
|
if has('reltime')
|
||||||
set incsearch
|
set incsearch
|
||||||
|
@@ -763,6 +763,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
2278,
|
||||||
/**/
|
/**/
|
||||||
2277,
|
2277,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user