Skip to content

doc: editor: hotkeys

Yury V. Zaytsev edited this page Mar 25, 2025 · 5 revisions

Hotkeys for editor

Related pages

Hotkeys

Ctrl and Shift mean the same keyboard keys, Meta is metakey, on PC it's Alt or single Esc press.

F3 Begin of text selection. Second press - end of text selection
Shift+F3 Begin of block text selection
F5 Copy text selection
F6 Move text selection
F8 Delete text selection
Meta+i Go to previous bookmark
Meta+j Go to next bookmark
Meta+k Toggle bookmark
Meta+l Go to line by number
Meta+o Flush bookmarks
Meta+q Insert literal. See table at bottom of this page
Meta+t Sort of text in selection.
Meta+u Execute external command and insert output into cursor position
Ctrl+f Save selection into external file
Ctrl+k Delete chars to end of line
Ctrl+n Create new file
Ctrl+s Toggle syntax highlighting
Ctrl+t Select text charset
Ctrl+u Undo
Ctrl+x Go to end of next word
Ctrl+y Delete line
Ctrl+z Go to start of previous word
Shift+F5 Insert external file content into cursor position
Meta+Enter Codejump dialog
Meta+- Move back into codejump (go to from function definition to function call)
Meta++ Move forvard into codejump (go to from function call to function definition)
Meta+n Toggle number of lines
tab If 'persistent blocks' option is on, then move selected text to right
M-tab If 'persistent blocks' option is on, then move selected text to left
Shift+Arrows Text selection
Meta+Arrows Block text selection
Meta+Shift+- Toggle show visible tabs and trailing spaces

Table of literals

HEX Dec Key Description
01 1 Meta+q,a
02 2 Meta+q,n
03 3 Meta+q,v
04 4 Meta+q,d
05 5 Meta+q,e
06 6 Meta+q,f
07 7 Meta+q,g
08 8 Meta+q,h
09 9 Meta+q,i TAB
0A 10 Meta+q,j
0B 11 Meta+q,k
0C 12 Meta+q,l
0E 14 Meta+q,m
0F 15 Meta+q,o
10 16 Meta+q,p
11 17 Meta+q,q
12 18 Meta+q,r
13 19 Meta+q,s
14 20 Meta+q,t
15 21 Meta+q,u
16 22 Meta+q,b
17 23 Meta+q,w
18 24 Meta+q,c
19 25 Meta+q,y
1A 26 Meta+q,x
1B 27 Meta+q,z
Meta+q,Esc,Esc
Clone this wiki locally