@@ -1577,7 +1577,7 @@ A jump table for the options with a short description can be found at |Q_op|.
15771577 NOTE: This option is reset when 'compatible' is set.
15781578
15791579 *'cinkeys'* *'cink'*
1580- 'cinkeys' 'cink' string (default "0{,0} ,0),:,0#,!^F,o,O,e")
1580+ 'cinkeys' 'cink' string (default "0{,0} ,0),0], :,0#,!^F,o,O,e")
15811581 local to buffer
15821582 {not in Vi}
15831583 {not available when compiled without the | +cindent |
@@ -4730,7 +4730,7 @@ A jump table for the options with a short description can be found at |Q_op|.
47304730
47314731
47324732 *'indentkeys'* *'indk'*
4733- 'indentkeys' 'indk' string (default "0{,0} ,:,0#,!^F,o,O,e")
4733+ 'indentkeys' 'indk' string (default "0{,0} ,0),0], :,0#,!^F,o,O,e")
47344734 local to buffer
47354735 {not in Vi}
47364736 {not available when compiled without the | +cindent |
@@ -6751,14 +6751,18 @@ A jump table for the options with a short description can be found at |Q_op|.
67516751
67526752 *'scrolloff'* *'so'*
67536753'scrolloff' 'so' number (default 0, set to 5 in | defaults.vim | )
6754- global
6754+ global or local to window | global-local |
67556755 {not in Vi}
67566756 Minimal number of screen lines to keep above and below the cursor.
67576757 This will make some context visible around where you are working. If
67586758 you set it to a very large value (999) the cursor line will always be
67596759 in the middle of the window (except at the start or end of the file or
67606760 when long lines wrap).
6761- For scrolling horizontally see 'sidescrolloff' .
6761+ After using the local value, go back the global value with one of
6762+ these two: >
6763+ setlocal scrolloff<
6764+ setlocal scrolloff=-1
6765+ < For scrolling horizontally see 'sidescrolloff' .
67626766 NOTE: This option is set to 0 when 'compatible' is set.
67636767
67646768 *'scrollopt'* *'sbo'*
@@ -7313,7 +7317,7 @@ A jump table for the options with a short description can be found at |Q_op|.
73137317
73147318 *'sidescrolloff'* *'siso'*
73157319'sidescrolloff' 'siso' number (default 0)
7316- global
7320+ global or local to window | global-local |
73177321 {not in Vi}
73187322 The minimal number of screen columns to keep to the left and to the
73197323 right of the cursor if 'nowrap' is set. Setting this option to a
@@ -7323,7 +7327,11 @@ A jump table for the options with a short description can be found at |Q_op|.
73237327 to a large value (like 999) has the effect of keeping the cursor
73247328 horizontally centered in the window, as long as one does not come too
73257329 close to the beginning of the line.
7326- NOTE: This option is set to 0 when 'compatible' is set.
7330+ After using the local value, go back the global value with one of
7331+ these two: >
7332+ setlocal sidescrolloff<
7333+ setlocal sidescrolloff=-1
7334+ < NOTE: This option is set to 0 when 'compatible' is set.
73277335
73287336 Example: Try this together with 'sidescroll' and 'listchars' as
73297337 in the following example to never allow the cursor to move
0 commit comments