Common shortcuts for code editing.

Windows chrome version

Ctrl + S Save

Ctrl + ZUndo

Ctrl + Y Redo

Ctrl + D Select the same word

Ctrl + X Cut a row

Ctrl+Shift+K Delete a row

Ctrl + C Copy the current row

Ctrl+i Select a row

Shift+Alt+Dragging with the mouse Column mode editing, modifying all the contents in this part

Alt + mouse Click multi-column mode edit, multi-line indents

Ctrl + Shift + L Add a cursor for all the identical string instances, batch changes

Ctrl + F Find

Ctrl + H Replace

Ctrl + G Locate to a specified row

Alt + Enter Select all the matching keywords in search

Alt↓ / Alt↑ Move the current row down/up

Shift + Alt + ↓ / Shift + Alt + ↑ Copy the current row down/up

Shift + Ctrl + K Delete the current row

Ctrl + Enter / Shift + Ctrl + Enter Move the cursor down/up

Shift + Ctrl + \ Jump the cursor to the matching brackets

Ctrl + ] / Ctrl + [Increase/decrease indent

Home / End Move to the beginning/end of the current row

Ctrl + Home / Ctrl + End Move to the beginning/end of the current file

Ctrl + → /Ctrl + ← Move the cursor right/left by words

Shift + Ctrl + [ / Shift + Ctrl + ] Hide/Show block pointed by cursor

Ctrl + K + Ctrl + [ / Ctrl + K + Ctrl + ] Hide/Show subblock pointed by cursor

Ctrl + K + Ctrl + 0 / Ctrl + K + Ctrl + jFold/unfold all areas

Ctrl + / Write/Cancel comments for the row or code block where the cursor stays

MAC chrome version

cmd + SSave

cmd + Z Undo

cmd + YRedo

cmd+D Select the same word

cmd + XCut a row

cmd + shift + K Delete a row

cmd + C Copy the current row

cmd +i Select the current row

cmd + F Find

cmd + alt + FReplace

alt↓ / alt↑Move the current row down/up

shift + alt + ↓ / shift + alt + ↑ Copy the current row down/up

shift + cmd + KDelete the current row

cmd + Enter / shift + cmd + Enter Move the cursor down/up

shift + cmd + \ Jump the cursor to the matching brackets

`cmd + ] / cmd + [ Increase/decrease indent

cmd + ← / cmd + → Move to the beginning/end of the current row

cmd + ↑ / cmd + ↓ Move to the beginning/end of the current file

alt + → /alt + ← Move the cursor right/left by words

alt + cmd + [ / alt + cmd + ] Hide/Show block pointed by cursor

cmd + K + cmd + [ / cmd + K + cmd + ] Hide/Show subblock pointed by cursor

cmd + K + cmd + 0 / cmd + K + cmd + j Fold/unfold all areas

cmd + /Write/Cancel comments for the row or code block where the cursor stays

Multiple cursors/select

alt + Clicking with the mouse Insert the cursor

alt + cmd + ↑/↓ Insert the cursor up/down

cmd + UUndo the last cursor operation

shift + alt + I Insert a cursor to the end of each row of the selected code block

cmd + G/shift + cmd + G Find the next/previous item

cmd + F2Select all the characters that the mouse has chosen

shift + cmd + L Select all the parts that the mouse has chosen

alt+Enter Select all the matching keywords in search

shift + alt + Dragging with the mouse Select multi-columns for editing

shift + alt + cmd + ↑ / ↓ Move the cursor up/down to select multi-columns for editing

shift + alt + cmd + ← / → Move the cursor right/left to select multi-columns for editing