Screen Too Small

This course material requires a larger screen to properly display the terminal and editor interfaces.

Please use a tablet, laptop, or desktop computer for the best learning experience.

You can continue browsing, but the experience will be significantly limited.

Macro Cruise Control

Robert jotted his cruise plans on paper—badly. Each day has two lines, but they’re out of order. Use a macro to pair and sort the days before chaos sets sail.

Starting Text

vim@sandbox: ~/start.txt
vim
Bahamas Cruise Schedule Day 4 Visit local straw market Day 2 Snorkeling excursion Day 1 Board ship and safety briefing Day 3 Sunset deck party Day 5 Return to port and disembark

Expected Output

vim@sandbox: ~/expected.txt
vim
Bahamas Cruise Schedule Day 1 Board ship and safety briefing Day 2 Snorkeling excursion Day 3 Sunset deck party Day 4 Visit local straw market Day 5 Return to port and disembark

Hold on, cowboy

You gotta sign up to view challenges

New challenges appear every week. They're fun, and insightful

Sign up or sign in now!