The editor used in ZeroBrane Studio is based on the Scintilla editing component and provides access to most of its functionality. These commands can be modified using editor key mapping settings.
Other shortcuts used in the application can be modified as described in the key mapping section.
Text editing commands with no menu equivalents:
Tab
: Indent line or current selectionShift-Tab
: Unindent line or current selectionCtrl-L
/Ctrl-Y
: Cut current lineCtrl-D
: Duplicate selection or current lineCtrl-Shift-T
: Copy current lineCtrl-Shift-U
: Uppercase current selectionCtrl-Backspace
: Delete to the beginning of the current wordCtrl-Delete
: Delete to the end of the current wordCtrl-Shift-Backspace
: Delete to the beginning of the lineCtrl-Shift-Delete
: Delete to the end of the line
Navigation and selection commands:
Alt-Shift-cursor
: Block selectionCtrl-(Shift-)[
: Jump to previous paragraph;Shift
extends selectionCtrl-(Shift-)]
: Jump to next paragraph;Shift
extends selectionCtrl-(Shift-)Left
: Jump to previous word;Shift
extends selectionCtrl-(Shift-)Right
: Jump to next word;Shift
extends selectionCtrl-(Shift-)/
: Jump to previous word part;Shift
extends selectionCtrl-(Shift-)\
: Jump to next word part;Shift
extends selectionAlt-End
: Jump to end of display line (for wrapped lines)Alt-Home
: Jump to beginning of display line (for wrapped lines)Ctrl-Tab
/Ctrl-PgDn
: Cycle right through editor tabsCtrl-Shift-Tab
/Ctrl-PgUp
: Cycle left through editor tabsCtrl-Alt-Click
: Jump to definition (if there is a variable under cursor)Ctrl-DblClick
: Select all instance of a variable or (when there is no variable under cursor) include the word under cursor into multiple selectionAlt-Left
: Jump to previous position afterJump to definition
Folding commands:
Shift-FoldMarginClick
: Fold/Unfold the current scopeShift-Ctrl-FoldMarginClick
: Fold/Unfold the current scope along with any other folds in itCtrl-FoldMarginClick
: Select the current scope
FoldMarginClick
is a click on a fold margin.
Text size adjustment commands:
Ctrl-Keypad+
: Magnify text sizeCtrl-Keypad-
: Reduce text sizeCtrl-Keypad/
: Restore text size to normalCtrl-MouseWheel
: Magnify/Reduce text size
Note that some of the keyboard shortcuts can’t be modified using the mechanism described in Keyboard shortcuts section.
Specifically, none of the Click
, DblClick
, or FoldMarginClick
shortcuts can be modified.
Note for macOS users: in all these editor commands Ctrl
means Cmd
key, except in Ctrl-Tab
, Ctrl-Shift-Tab
, Ctrl-PgUp
, and Ctrl-PgDn
commands.
Also, Use Delete
for Backspace
and Fn+Delete
for Delete
.