Reverse Lines

JavaScript
OpenClip Team·v1.1.0·com.openclip.reverselines
31installs
JavaScript
Zero config
OpenClip ≥ 1.0.0
macOS 14+ Sonoma & Sequoia
View Source

Reverse the vertical order of lines in the selected text.

Features#

  • Invert Order: The last line becomes the first line, and the first becomes the last.
  • Preserves Line Contents: Each line's internal content remains unchanged.

Usage Examples#

  • Given:
    Step 1
    Step 2
    Step 3
    Returns:
    Step 3
    Step 2
    Step 1