Patch 7.4.2278
Problem:    New users have no idea of the 'scrolloff' option.
Solution:   Set 'scrolloff' in defaults.vim.
Files:      runtime/defaults.vim


*** ../vim-7.4.2277/runtime/defaults.vim        2016-08-21 17:44:57.440487201 
+0200
--- runtime/defaults.vim        2016-08-28 14:37:40.749133353 +0200
***************
*** 1,7 ****
  " The default vimrc file.
  "
  " Maintainer: Bram Moolenaar <[email protected]>
! " Last change:        2016 Aug 21
  "
  " This is loaded if no vimrc file was found.
  " Except when Vim is run with "-u NONE" or "-C".
--- 1,7 ----
  " The default vimrc file.
  "
  " Maintainer: Bram Moolenaar <[email protected]>
! " Last change:        2016 Aug 28
  "
  " This is loaded if no vimrc file was found.
  " Except when Vim is run with "-u NONE" or "-C".
***************
*** 31,36 ****
--- 31,39 ----
  " Show @@@ in the last line if it is truncated.
  set display=truncate
  
+ " Show a few lines of context around the cursor.
+ set scrolloff=5
+ 
  " Do incremental searching when it's possible to timeout.
  if has('reltime')
    set incsearch
*** ../vim-7.4.2277/src/version.c       2016-08-28 14:11:20.238534825 +0200
--- src/version.c       2016-08-28 14:38:41.060613477 +0200
***************
*** 765,766 ****
--- 765,768 ----
  {   /* Add new patch number below this line */
+ /**/
+     2278,
  /**/


-- 
>From "know your smileys":
 %      Bike accident.  A bit far-fetched, I suppose; although...
             o      _     _         _
     _o     /\_   _ \\o  (_)\__/o  (_)
   _< \_   _>(_) (_)/<_    \_| \   _|/' \/
  (_)>(_) (_)        (_)   (_)    (_)'  _\o_

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui