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/16/2017 at 08:43PM
07/16/2017 at 09:33PM
07/17/2017 at 01:01PM
07/17/2017 at 02:59PM
07/17/2017 at 10:45PM
07/20/2017 at 04:55PM
07/23/2017 at 09:30AM
07/23/2017 at 04:22PM
#9 - Preben Guldberg / @wielder
07/23/2017 at 10:05PM
07/25/2017 at 07:46PM
07/30/2017 at 03:35PM
08/03/2017 at 12:48AM
08/03/2017 at 02:43AM
08/07/2017 at 08:05PM
08/11/2017 at 03:40AM
08/13/2017 at 09:04AM
08/16/2017 at 05:40PM
08/18/2017 at 03:55PM
08/18/2017 at 04:20PM
08/23/2017 at 09:32PM
08/25/2017 at 01:21AM
08/28/2017 at 08:28AM
08/31/2017 at 01:18PM
10/24/2017 at 02:48PM
11/08/2017 at 06:30PM
11/14/2017 at 12:25PM
12/20/2017 at 03:45AM
02/10/2018 at 09:44PM
04/28/2018 at 01:56AM
07/11/2018 at 06:22AM