Diff to HTML by rtfpessoa

Files changed (3) hide show
  1. runtime/doc/options.txt +21 -4
  2. runtime/doc/quickref.txt +2 -1
  3. runtime/doc/version9.txt +2 -1
runtime/doc/options.txt CHANGED
@@ -1,4 +1,4 @@
1
- *options.txt* For Vim version 9.2. Last change: 2026 Apr 14
2
 
3
 
4
  VIM REFERENCE MANUAL by Bram Moolenaar
@@ -7577,8 +7577,8 @@ A jump table for the options with a short description can be found at |Q_op|.
7577
  Minimal number of screen lines to keep above and below the cursor.
7578
  This will make some context visible around where you are working. If
7579
  you set it to a very large value (999) the cursor line will always be
7580
- in the middle of the window (except at the start or end of the file or
7581
- when long lines wrap).
7582
  After using the local value, go back the global value with one of
7583
  these two: >
7584
  setlocal scrolloff<
@@ -7586,7 +7586,24 @@ A jump table for the options with a short description can be found at |Q_op|.
7586
  < For scrolling horizontally see 'sidescrolloff'.
7587
  NOTE: This option is set to 0 when 'compatible' is set.
7588
 
7589
- *'scrollopt'* *'sbo'*
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7590
  'scrollopt' 'sbo' string (default "ver,jump")
7591
  global
7592
  This is a comma-separated list of words that specifies how
 
1
+ *options.txt* For Vim version 9.2. Last change: 2026 Apr 15
2
 
3
 
4
  VIM REFERENCE MANUAL by Bram Moolenaar
 
7577
  Minimal number of screen lines to keep above and below the cursor.
7578
  This will make some context visible around where you are working. If
7579
  you set it to a very large value (999) the cursor line will always be
7580
+ in the middle of the window (except at the start or end of the file,
7581
+ see 'scrolloffpad', or when long lines wrap).
7582
  After using the local value, go back the global value with one of
7583
  these two: >
7584
  setlocal scrolloff<
 
7586
  < For scrolling horizontally see 'sidescrolloff'.
7587
  NOTE: This option is set to 0 when 'compatible' is set.
7588
 
7589
+ *'scrolloffpad'* *'sop'*
7590
+ 'scrolloffpad' 'sop' number (default 0)
7591
+ global or local to window |global-local|
7592
+ When 'scrolloff' and 'scrolloffpad' are greater than zero, allow
7593
+ the cursor to remain centered when at the end of the file.
7594
+ Normally, 'scrolloff' will not keep the cursor centered at the
7595
+ end of the file.
7596
+
7597
+ A value of 0 disables this feature. Any value above 0 enables it.
7598
+ For a window-local value, -1 means to use the global value.
7599
+ Values below -1 are invalid.
7600
+
7601
+ After using the local value, go back the global value with one of
7602
+ these two: >
7603
+ setlocal scrolloffpad<
7604
+ setlocal scrolloffpad=-1
7605
+
7606
+ < *'scrollopt'* *'sbo'*
7607
  'scrollopt' 'sbo' string (default "ver,jump")
7608
  global
7609
  This is a comma-separated list of words that specifies how
runtime/doc/quickref.txt CHANGED
@@ -1,4 +1,4 @@
1
- *quickref.txt* For Vim version 9.2. Last change: 2026 Apr 09
2
 
3
 
4
  VIM REFERENCE MANUAL by Bram Moolenaar
@@ -895,6 +895,7 @@ Short explanation of each option: *option-list*
895
  'scrollfocus' 'scf' scroll wheel applies to window under pointer
896
  'scrolljump' 'sj' minimum number of lines to scroll
897
  'scrolloff' 'so' minimum nr. of lines above and below cursor
 
898
  'scrollopt' 'sbo' how 'scrollbind' should behave
899
  'sections' 'sect' nroff macros that separate sections
900
  'secure' secure mode for reading .vimrc in current dir
 
1
+ *quickref.txt* For Vim version 9.2. Last change: 2026 Apr 15
2
 
3
 
4
  VIM REFERENCE MANUAL by Bram Moolenaar
 
895
  'scrollfocus' 'scf' scroll wheel applies to window under pointer
896
  'scrolljump' 'sj' minimum number of lines to scroll
897
  'scrolloff' 'so' minimum nr. of lines above and below cursor
898
+ 'scrolloffpad' 'sop' keep 'scrolloff' context at end of file
899
  'scrollopt' 'sbo' how 'scrollbind' should behave
900
  'sections' 'sect' nroff macros that separate sections
901
  'secure' secure mode for reading .vimrc in current dir
runtime/doc/version9.txt CHANGED
@@ -1,4 +1,4 @@
1
- *version9.txt* For Vim version 9.2. Last change: 2026 Apr 14
2
 
3
 
4
  VIM REFERENCE MANUAL by Bram Moolenaar
@@ -52654,6 +52654,7 @@ Options: ~
52654
 
52655
  'modelinestrict' Only allow safe options to be set from a modeline.
52656
  'pumopt' Additional options for the popup menu
 
52657
  'statuslineopt' Extra window-local options for the 'statusline', to
52658
  configure the height.
52659
  't_BS' Begin synchronized update.
 
1
+ *version9.txt* For Vim version 9.2. Last change: 2026 Apr 15
2
 
3
 
4
  VIM REFERENCE MANUAL by Bram Moolenaar
 
52654
 
52655
  'modelinestrict' Only allow safe options to be set from a modeline.
52656
  'pumopt' Additional options for the popup menu
52657
+ 'scrolloffpad' Keep 'scrolloff' context at end of file
52658
  'statuslineopt' Extra window-local options for the 'statusline', to
52659
  configure the height.
52660
  't_BS' Begin synchronized update.