Shortcuts for programming in ST

 

Shortcut

Action

Copy

<Ctrl>+<C> or <Ctrl>+<Ins>

Copy selected text

<Ctrl>+<Shift>+<T>

Copy the line

Cut

<Ctrl>+<X> or <Shift>+<Del>

Cut selected text

<Ctrl>+<L>

Cut the line

Paste

<Ctrl>+<V> or <Shift>+<Ins>

Paste text from clipboard

<Ctrl>+<D>

Duplicate the selection

Delete

<Ctrl>+<Shift>+<L>

Delete the line

<Ctrl>+<Shift>+<Backspace>

Delete to beginning of line

<Ctrl>+<Shift>+<Del>

Delete to end of line

<Ctrl>+<Backspace>

Delete to previous word boundary

<Ctrl>+<Del>

Delete to next word boundary

Undo/redo

<Ctrl>+<Z> or <Alt>+<Backspace>

Undo

<Ctrl>+<Y>

Redo

Selection

<Ctrl>+<A>

Select entire text

<Ctrl>+Double-click

Select multiple text

<Ctrl>+<Shift>+<Home>

Extend the selection to the start of the document

<Ctrl>+<Shift>+<End>

Extend the selection to the end of the document

<Shift>+<PgUp>

Extend the selection up one page

<Shift>+<PgDn>

Extend the selection down one page

<Shift>+<Home>

Extend the selection to the start of the line

<Shift>+<End>

Extend the selection to the end of the line

<Shift>+<↑>

Extend the selection up one line

<Shift>+<¯>

Extend the selection down one line

<Ctrl>+<Shift>+<¬>

Extend selection to previous word boundary

<Ctrl>+<Shift>+<®>

Extend selection to next word boundary

<Shift>+<¬>

Extend the selection one character to the left

<Shift>+<®>

Extend the selection one character to the right

<Ctrl>+Click

Add another cursor

Rectangular block selection

<Alt>+Click and drag

Select a rectangular block with the mouse

<Alt>+<Shift>+<↑>/<¯>/<¬>/<®>/ <PgUp>/<PgDn> or click

Select a rectangular block with the keyboard

<Alt>+<Shift>+<Home>

Extend rectangular block selection to the beginning of the line

<Alt>+<Shift>+<End>

Extend rectangular block selection to the end of the line

Change case of selection

<Ctrl>+<U>

Change selection to lowercase

<Ctrl>+<Shift>+<U>

Change selection to uppercase

Indent/unindent selection

<Tab>

Indent selected lines

<Shift>+<Tab>

Unindent selected lines

Move selection

<Ctrl>+<T>

Swap line with the previous line

<Alt>+<↑>

Move selected lines up one line

<Alt>+<¯>

Move selected lines down one line

Template

<Ctrl>+<F1>

Insert template for selected keyword or instruction

<Ctrl>+<Alt>+<¬>

Select the previous placeholder for the parameters in the template, e.g. ?INT?

<Ctrl>+<Alt>+<®>

Select the next placeholder for the parameters in the template, e.g. ?INT?

Navigation

<Ctrl>+<G>

Open the Go to line dialog

<Alt>+<G> or <F12>

Go to declaration

<Ctrl>+<E>

Toggle between matching brackets, e.g., jump from open bracket to matching closing bracket

Toggle between keywords of a control block, e.g., jump from IF to matching END_IF position

<Ctrl>+<Home> or <Home>

Set caret to the beginning of the current line

<Ctrl>+<End> or <End>

Set caret to the end of the current line

Mouse wheel

Vertical scrolling

<Shift>+Mouse wheel

Horizontal scrolling

<Ctrl>+<↑>

Scroll up one line

<Ctrl>+<¯>

Scroll down one line

<PgUp>

Move up one page

<PgDn>

Move down one page

<Ctrl>+<¬>

Set caret to previous word boundary

<Ctrl>+<®>

Set caret to next word boundary

<Ctrl>+<Shift>+<↑>

Go to previous highlighted text

<Ctrl>+<Shift>+<¯>

Go to next highlighted text

Show/open

<Ctrl>+<Space>

Show auto-completion list

<Ctrl>+<.>

Show/hide whitespace characters

<F2>

Open the Variables pane

<Shift>+<F2>

Open the Instructions pane

<Shift>+<F10>

Opens context menu; alternatively, press <Application key>

Line wrap

<Alt>+<Z>

Toggle between word wrap, character wrap and no wrap

Zoom

<Ctrl>+Mouse wheel

Zoom the text

<Ctrl>+Keypad<+>

Magnify the text zoom

<Ctrl>+Keypad<->

Reduce the text zoom

<Ctrl>+Keypad</>

Reset the text zoom to 100%

Related topics:

Modified on: 2023-02-21Feedback on this pagePanasonic hotline