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
83 remaining solutions by
signing in and submitting your own entry
#84
Vimfiz / @vimfiz -
Score: 42 -
05/16/19 @ 00:33
9l7x3lr|<C-V>jjjI|<Esc>lxj6x2xj8xj.2kO<Esc>22I_<BS>_<BS>-<Esc>ZZ
0 comments
84 active golfers, 251 entries
Leaderboard (lowest score wins):
16
07/16/2017 at 08:43PM
16
07/16/2017 at 09:33PM
16
07/17/2017 at 01:01PM
16
07/17/2017 at 02:59PM
16
07/17/2017 at 10:45PM
16
07/20/2017 at 04:55PM
16
07/23/2017 at 09:30AM
16
07/23/2017 at 04:22PM
16
#9 - Preben Guldberg / @wielder
07/23/2017 at 10:05PM
16
07/25/2017 at 07:46PM
16
07/30/2017 at 03:35PM
16
08/03/2017 at 12:48AM
16
08/03/2017 at 02:43AM
16
08/07/2017 at 08:05PM
16
08/11/2017 at 03:40AM
16
08/13/2017 at 09:04AM
16
08/16/2017 at 05:40PM
16
08/18/2017 at 03:55PM
16
08/18/2017 at 04:20PM
16
08/23/2017 at 09:32PM
16
08/25/2017 at 01:21AM
16
08/28/2017 at 08:28AM
16
08/31/2017 at 01:18PM
16
10/24/2017 at 02:48PM
16
11/08/2017 at 06:30PM
16
11/14/2017 at 12:25PM
16
12/20/2017 at 03:45AM
16
02/10/2018 at 09:44PM
16
04/28/2018 at 01:56AM
16
07/11/2018 at 06:22AM