Hi Bram and all,

2016-8-28(Sun) 21:40:05 UTC+9 Bram Moolenaar:
> 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 <b...@vim.org>
> ! " 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 <b...@vim.org>
> ! " 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,
>   /**/

Hmm, I am negative, in this patch.
I think that new users tend to use the mouse.
Cursor movement with the mouse, and 'scrolloff' option of the combination 
confuse a new user.
(on GVim, and on CLI with 'set mouse=a')
(default.vim already contained 'set mouse=a')

Sample:
- Rename your .vimrc  (Order to use the default.vim)
  $ mv ~/.vimrc ~/.vimrc.orig
- Start GVim
  $ gvim
- Display help.
  :help
- Go to half percentage in the help file.
  50%
- Cursor move to line 6 of window.  (adjusted for 'scrolloff')
  H
- Click top line of window by mouse.


Behavior:
- Click the line will be moved to the line 6.

I think this behavior confuse a new user.
I think it is better not to include the whimsy in the default.vim.
How do you think?
--
Best regards,
Hirohito Higashi (a.k.a. h_east)

-- 
-- 
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 vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui