Search…
Line
The below functions are available in [Edit] > [Line]. You can use shortcuts for more convenience.
  • Join Lines (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.
  • Duplicate Lines (Ctrl + Shift + D (Mac: ⌘⇧D)): Duplicates the line where the cursor is located and paste it to the below.
  • Delete Lines (Ctrl + Shift + K (Mac: ⌘⇧K)): Deletes the entire line where the cursor is located.
  • Insert Line Above (Ctrl + Shift + Enter (Mac: ⌘⇧⏎)): Inserts a line above the cursor.
  • Insert Line Below (Ctrl + Enter (Mac: ⌘⏎)): Inserts one line below the cursor.
  • Swap Down Line (Ctrl + Alt + ↓ (Mac: ^ ⌘ ↓)): Swap the line where the cursor is located with the line below it.
  • Swap Up Line (Ctrl + Alt + ↑ (Mac: ^ ⌘ ↑)): Swap the line where the cursor is located with the line above it.
Last modified 2yr ago
Copy link