Ctrl + J (Mac: ⌘J)
):
Combines the line where the cursor is located and the line below it into one line.
That is, the line below rises to the line where the cursor is currently located.
At this point, the two lines are separated by spaces.
Ctrl + Shift + D (Mac: ⌘⇧D)
):
Duplicates the line where the cursor is located and paste it to the below.
Ctrl + Shift + K (Mac: ⌘⇧K)
):
Deletes the entire line where the cursor is located.
Ctrl + Shift + Enter (Mac: ⌘⇧⏎)
):
Inserts a line above the cursor.
Ctrl + Enter (Mac: ⌘⏎)
):
Inserts one line below the cursor.
Ctrl + Alt + ↓ (Mac: ^ ⌘ ↓)
):
Swap the line where the cursor is located with the line below it.
Ctrl + Alt + ↑ (Mac: ^ ⌘ ↑)
):
Swap the line where the cursor is located with the line above it.