Create a table
Convert the given input into a formatted table
Start file
Item name Quantity
Eggs 2
Cucumber 20
Watermelons 1
End file
Item name | Quantity
----------------------
Eggs | 2
Cucumber | 20
Watermelons | 1
View Diff
1,4c1,5
< Item name Quantity
< Eggs 2
< Cucumber 20
< Watermelons 1
---
> Item name | Quantity
> ----------------------
> Eggs | 2
> Cucumber | 20
> Watermelons | 1
Solutions
The best way to learn is to practice. Below, you will find some of the solutions other golfers have entered. To unlock higher ranked solutions, submit your own entry which does as well or better than the solutions you can currently see - climb the ladder!
Check out these helpful resources to improve your Vim skills... Game on.
Unlock 104 remaining solutions by signing in and submitting your own entry