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
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
#105
Kitsan / @Strustle -
Score: 53 -
12/16/20 @ 10:24
o<Esc>i-<Esc>22.<Esc>kFel5xx<Esc>jj7xj7xlllj7xi|<Esc>ki|<Esc>ki|<Esc>kki|<Esc>lx<Esc>:wq<CR>
0 comments
105 active golfers, 332 entries
Leaderboard (lowest score wins):
07/17/2017 at 05:22PM
07/20/2017 at 06:24AM
07/24/2017 at 09:02PM
07/25/2017 at 07:30AM
07/26/2017 at 06:46AM
07/28/2017 at 12:37PM
08/23/2017 at 11:48PM
09/19/2017 at 06:07PM
09/28/2017 at 10:26AM
12/29/2017 at 03:30PM
09/20/2021 at 04:57PM
07/17/2017 at 07:56AM
07/17/2017 at 05:11PM
07/18/2017 at 02:34PM
07/18/2017 at 05:15PM
07/19/2017 at 03:34PM
07/20/2017 at 08:01PM
#78 - Alphonse Mariya / @alfunx
01/13/2018 at 02:10PM
07/16/2017 at 10:06PM
07/25/2017 at 10:02AM
10/06/2017 at 04:01PM
12/02/2017 at 12:24PM
06/14/2023 at 01:56AM
07/17/2017 at 07:09AM
08/02/2017 at 05:32PM
09/24/2017 at 07:29PM
11/22/2019 at 02:57PM
09/12/2023 at 08:42PM
09/17/2017 at 10:39PM
04/13/2019 at 11:09PM