@@ -7518,24 +7518,28 @@ A jump table for the options with a short description can be found at |Q_op|.
75187518 When on, splitting a window will put the new window below the current
75197519 one. | :split |
75207520
7521+ *'splitkeep'* *'spk'
7522+ 'splitkeep' 'spk' string (default "cursor")
7523+ global
7524+ The value of this option determines the scroll behavior when opening,
7525+ closing or resizing horizontal splits.
7526+
7527+ Possible values are:
7528+ cursor Keep the same relative cursor position.
7529+ screen Keep the text on the same screen line.
7530+ topline Keep the topline the same.
7531+
7532+ For the "screen" and "topline" values, the cursor position will be
7533+ changed when necessary. In this case, the jumplist will be populated
7534+ with the previous cursor position. For "screen", the text cannot always
7535+ be kept on the same screen line when 'wrap' is enabled.
7536+
75217537 *'splitright'* *'spr'* *'nosplitright'* *'nospr'*
75227538'splitright' 'spr' boolean (default off)
75237539 global
75247540 When on, splitting a window will put the new window right of the
75257541 current one. | :vsplit |
75267542
7527- *'splitscroll'* *'spsc'* *'nosplitscroll'* *'nospsc'*
7528- 'splitscroll' 'spsc' boolean (default on)
7529- global
7530- The value of this option determines the scroll behavior when opening,
7531- closing or resizing horizontal splits. When "on", splitting a window
7532- horizontally will keep the same relative cursor position in the old and
7533- new window, as well windows that are resized. When "off", scrolling
7534- will be avoided to stabilize the window content. Instead, the cursor
7535- position will be changed when necessary. In this case, the jumplist
7536- will be populated with the previous cursor position. Scrolling cannot
7537- be guaranteed to be avoided when 'wrap' is enabled.
7538-
75397543 *'startofline'* *'sol'* *'nostartofline'* *'nosol'*
75407544'startofline' 'sol' boolean (default on)
75417545 global
0 commit comments