statusline Parameter

Controls the display of the statusline.

Scope: File

Syntax

query statusline 
set statusline { on | off | inverse default } 

Option

on 
Display the status in an area at the top of the window. If the statusline parameter is not set on, the space is not reserved for the window.
off 
Do not display the statusline anywhere.
inverse 
Toggle between on and off.
default 
Status line display is controlled by the value of the default parameter.

Description

The statusline parameter controls the display of the file or view status. The status shows the insert/replace mode and the cursor position within the file, the number of changes since the last update, and whether or not browse mode is on.

If the value of the statusline parameter is default, status line display is controlled by the value of the default parameter.

Note: The width for the statusline parameter is fixed, so you cannot use the scroll bar to display any text which is not in view. You must open the Macro Log to view the text.

Examples

  1. To display the file status, type:
    set statusline on 
  2. To control status line display with the value defined by the default parameter, type:
    set statusline default 
  3. To query the value of the statusline parameter, type:
    query statusline 

    If this query returns DEFAULT, type the following:

    query default.statusline

API Return Codes

-2 
The option is not valid.

default parameter