Back to contents

Settings: View scope

autoindent

Python type: bool

Whether to use auto indentation

Synonyms: ai, cin, cindent, si, smartindent

autowrap

Python type: bool

Whether to insert line breaks when the cursor reaches the end of a line as defined by the buffer's textwidth setting. If textwidth is not set wrap at the window edge. Will not wrap if there is no whitespace in the line.

Synonyms: aw

blockcursor

Python type: bool

Use block cursor when in vi command mode

Synonyms: bc

browser

Python type: str

Browser to launch when a URL is Ctrl-double-clicked. May contain '%s' to substitute with the URL, otherwise it's added to the end

columns

Python type: int

Initial number of columns (approx)

Synonyms: co

cursorcolour

Python type: str

Colour (#rgb) of cursor when not in insert mode.

Synonyms: curscolor, curscolour, cursorcolor

expandtabs

Python type: bool

Insert 'tabstop' number of spaces instead of a tab character when Tab is pressed in Insert mode

Synonyms: et

highlightline

Python type: int

Whether to highlight the line containing the cursor: 0 = Never, 1 = Only when unfocused, 2 = Only when focused, 3 = Always

Synonyms: hiline, hll, hlline

insertcolor

Python type: str

Colour of the insert caret/cursor in #rgb format

Synonyms: inscolor, inscolour, insertcolour

lines

Python type: int

Initial number of lines (approx)

mailer

Python type: str

Mail program to launch when an email address or mailto: is Ctrl-double-clicked. May contain '%s' to substitute with the address, otherwise it's added to the end

mailtore

Python type: str

Regular expression for matching email addresses or mailto URIs (case insensitive)

scroll

Python type: int

How many lines C-D and C-U scroll by; unset or 0 for half window height

Synonyms: scr

shiftwidth

Python type: int

Indenting and outdenting remove/add this much whitespace

Synonyms: sw

smarttab

Python type: bool

Insert 'shiftwidth' instead of 'tabstop' number of spaces when Tab is pressed in Insert mode

Synonyms: sta

tabstop

Python type: int

Tabs are displayed as equivalent to this number of spaces

Synonyms: ts

urlre

Python type: str

Regular expression for matching URLs (case insensitive)

virtualedit

Python type: bool

Whether to allow the cursor to be positioned after the last character on a line

Synonyms: ve

wrap

Python type: bool

Whether to wrap the display of long lines to fit the view; otherwise scroll the view