throng v1.0.0-beta4

Editor


Save

Cog › Key Bindings › Editor

editor.save

Save the active editor document.

Default: Ctrl+S · Scope: Editor · Terminal

Save the active editor document. Inert in a terminal.


Save all

Cog › Key Bindings › Editor

editor.saveAll

Save all open editor documents in scope.

Default: Ctrl+Shift+S · Scope: Editor · Terminal

Save all open editor documents in scope. See Save-All scope.


Save as

Cog › Key Bindings › Editor

editor.saveAs

Save the active document to a new location.

Default: Ctrl+Alt+S · Scope: Editor · Terminal


Print…

Cog › Key Bindings › Editor

editor.print

Open Print Preview for the active editor's document, unsaved changes included.

Default: Ctrl+P · Scope: Editor

Open Print Preview for the active editor's document, unsaved changes included, to choose a printer and page settings and see the pages before printing. Live in an editor only.

Open Print Preview for the active editor's document, unsaved changes included: its text in the editor's font, syntax-highlighted in print colours, long lines wrapped. It never prints without showing Print Preview first. Never live in a terminal, where Ctrl+P is the shell's.


Cut line

Cog › Key Bindings › Editor

editor.cutLine

Cut the selection, or the cursor's whole line when you have no selection.

Default: Ctrl+X · Scope: Editor

Cut the whole line the cursor sits on when you have no selection, or the selection when you have one.


Indent

Cog › Key Bindings › Editor

editor.indentLines

Indent every line the selection touches, or insert one level of indentation at the cursor.

Default: Tab · Scope: Editor


Outdent

Cog › Key Bindings › Editor

editor.outdentLines

Remove one level of indentation from every line the selection touches.

Default: Shift+Tab · Scope: Editor


Column select up

Cog › Key Bindings › Editor

editor.columnSelectUp

Extend a rectangular selection one line upwards.

Default: Shift+Alt+ArrowUp · Scope: Editor


Column select down

Cog › Key Bindings › Editor

editor.columnSelectDown

Extend a rectangular selection one line downwards.

Default: Shift+Alt+ArrowDown · Scope: Editor


Column select left

Cog › Key Bindings › Editor

editor.columnSelectLeft

Extend a rectangular selection one column to the left.

Default: Shift+Alt+ArrowLeft · Scope: Editor


Column select right

Cog › Key Bindings › Editor

editor.columnSelectRight

Extend a rectangular selection one column to the right.

Default: Shift+Alt+ArrowRight · Scope: Editor


Toggle word wrap

Cog › Key Bindings › Editor

editor.toggleWordWrap

Wrap or unwrap long lines in the focused editor's document (024 US1).

Default: Ctrl+E,W · Scope: Editor

Wrap or unwrap long lines in the focused editor's document: hold Ctrl, press E, then W.


Synchronise Scrolling

Cog › Key Bindings › Editor

preview.toggleSyncScroll

Turn synchronised scrolling between editors and previews on or off, everywhere. Unbound by default.

Default: (unbound) · Scope: Editor · Preview

Turn synchronised scrolling between editors and their previews on or off, everywhere. It is the same setting the menus and status-bar buttons switch.


Reopen with Encoding…

Cog › Key Bindings › Editor

editor.reopenWithEncoding

Read the focused editor's file again in an encoding you choose. Unbound by default.

Default: (unbound) · Scope: Editor

Read the focused editor's file again in an encoding you choose, when it was detected wrongly. Unsaved changes are asked about first.


Change Encoding…

Cog › Key Bindings › Editor

editor.changeEncoding

Choose the encoding throng saves the focused editor's document in. Unbound by default.

Default: (unbound) · Scope: Editor

Choose the encoding the focused editor's document is saved in. The document is marked changed and you can undo it; nothing is written until you save.


Convert to LF

Cog › Key Bindings › Editor

editor.convertLineEndingsToLf

Change every line ending in the focused editor to LF, as one undo step. Unbound by default.

Default: (unbound) · Scope: Editor

Change every line ending in the focused editor's document to LF, as one step you can undo.


Convert to CR

Cog › Key Bindings › Editor

editor.convertLineEndingsToCr

Change every line ending in the focused editor to CR, as one undo step. Unbound by default.

Default: (unbound) · Scope: Editor

Change every line ending in the focused editor's document to CR, as one step you can undo.


Convert to CRLF

Cog › Key Bindings › Editor

editor.convertLineEndingsToCrlf

Change every line ending in the focused editor to CRLF, as one undo step. Unbound by default.

Default: (unbound) · Scope: Editor

Change every line ending in the focused editor's document to CRLF, as one step you can undo.


Insert Line Break (LF)

Cog › Key Bindings › Editor

editor.insertLineBreakLf

Start a new line ending in LF at the cursor, whatever the other lines end in. Unbound by default.

Default: (unbound) · Scope: Editor

Start a new line ending in LF at the cursor, whatever the document's other lines end in.


Insert Line Break (CR)

Cog › Key Bindings › Editor

editor.insertLineBreakCr

Start a new line ending in CR at the cursor, whatever the other lines end in. Unbound by default.

Default: (unbound) · Scope: Editor

Start a new line ending in CR at the cursor, whatever the document's other lines end in.


Insert Line Break (CRLF)

Cog › Key Bindings › Editor

editor.insertLineBreakCrlf

Start a new line ending in CRLF at the cursor, whatever the other lines end in. Unbound by default.

Default: (unbound) · Scope: Editor

Start a new line ending in CRLF at the cursor, whatever the document's other lines end in.


View Whitespace

Cog › Key Bindings › Editor

editor.toggleWhitespace

Show or hide a symbol for every space, tab, line break and invisible character. Unbound by default.

Default: (unbound) · Scope: Editor

Show or hide a symbol for every space, tab, line break and invisible character in the focused editor.

Cut, Copy, Paste, Select All, Undo and Redo inside an editor keep their native bindings (Ctrl+X/C/V/A/Z/Y) and are not listed in the editor. A rectangular selection can also be dragged with Alt held.