Sets the default border orientation between multiple editing views in the Editor window.
| Note: | This parameter is valid only in an Editor window. |
Scope: Global
Syntax
query split
set split { horizontal | vertical | default }
Options
| horizontal | The borders between multiple editing views run horizontally. |
| vertical | The borders between multiple editing views run vertically. |
| default | Split window border orientation is controlled by the value of the default parameter. |
Description
The Editor window lets you have multiple windows. The split parameter does not actually split the window into multiple views. Instead, it determines the default orientation of borders between editing views.
If the value of the ruler parameter is default, split view border orientation is controlled by the value of the default parameter.
Examples
set split vertical
set split default
query split
If this query returns DEFAULT, type the following:
query default.split
API Return Codes
-2 |
An invalid option was specified. |
![]()
default parameter
godoc Command
goring Command
goview Command
lx Command
