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):
08/19/2018 at 07:55AM
#32 - Henrique Malheiro / @rike09
10/11/2018 at 11:32PM
11/26/2018 at 06:04PM
01/11/2019 at 08:59AM
04/16/2019 at 11:49AM
05/03/2019 at 09:03AM
06/21/2019 at 03:32PM
01/12/2020 at 04:45AM
06/23/2020 at 04:47AM
06/27/2020 at 03:28AM
12/19/2020 at 04:11AM
02/16/2021 at 11:55PM
03/05/2021 at 11:56AM
03/13/2021 at 10:35PM
03/24/2021 at 08:36PM
08/05/2021 at 05:09PM
07/07/2022 at 11:53PM
10/03/2022 at 02:41PM
09/23/2023 at 04:27PM
07/20/2024 at 01:16AM
07/17/2017 at 05:08AM
07/17/2017 at 02:46PM
12/04/2018 at 03:16AM
12/28/2018 at 12:06PM
08/23/2019 at 08:48AM
01/14/2022 at 04:23PM
05/13/2022 at 08:07AM
11/15/2023 at 08:26AM
#59 - AleksandarTrifunovic / @akstrfn
07/16/2017 at 07:47PM
07/16/2017 at 07:55PM