split Parameter

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

  1. To set the default border orientation between multiple editing views to vertical, type:
    set split vertical 
  2. To control split window border orientation with the value defined by the default parameter, type:
    set split default 
  3. To display the value of the split parameter, type:
    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