|
Select all |
|
|
|
When multiple selections are present, deselect all but the primary selection |
|
|
|
Delete line under the cursor |
|
|
|
Undo last change |
|
|
|
Redo the last undone change |
|
|
|
Move cursor to the start of the line |
|
|
|
Move to the left of the group before the cursor. A group is a stretch of word characters, a stretch of punctuation characters, a newline, or a stretch of more than one whitespace character |
|
|
|
Delete to the left of the group before the cursor |
|
|
|
Auto-indent the current line or selection |
|
|
|
Dedent the current line or selection by one indent unit |
|
|
|
Toggle the overwrite flag |
|
|
|
Not defined by the core library, only referred to in key maps. Intended to provide an easy way for user code to define a save command |
|
|
|
Find |
|
|
|
Find next |
|
|
|
Find previous |
|
|
|
Replace |
|
|
|
Replace all. Not defined by the core library, but defined in the search addon (or custom client addons) |
|
Advertisement
|
Emacs-style line killing. Deletes the part of the line after the cursor. If that consists only of whitespace, the newline at the end of the line is also deleted |
|
|
|
Move cursor to the start of the document |
|
|
|
Auto-indent the current line or selection |
|
|
Source: CodeMirror manual
|
What is your favorite CodeMirror hotkey? Do you have any useful tips for it? Let other users know below.
yurenchen OP says : 2 years ago 12/12/2021 11:04 AM
I wonder how to move line up/down use shortcuts?
( as alt+up/down in vscode )
1034333 167
470442 6
388524 363
313884 4
265775 5
254947 30
3 hours ago
20 hours ago
2 days ago
3 days ago
6 days ago
7 days ago
Latest articles