To: vim_dev@googlegroups.com Subject: Patch 7.4.2278 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ 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 ! " 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 ! " 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 -- Bram@Moolenaar.net -- 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 ///