Real Vim ninjas count every keystroke - do you?

Pick a challenge, fire up Vim, and show us what you got.

Changelog, Rules & FAQ, updates: @vimgolf, RSS.

Your VimGolf key: please sign in

$ gem install vimgolf
$ vimgolf setup
$ vimgolf put 6030936d3f9325000c6aa0aa

CSV to MD format

To convert a CSV list to Markdown list

Start file
apple,fruit
onion
,vegetable
cherry
,fruit
garlic
,vegetable
ginger
,vegetable
rose
,flower
orange
,fruit
jasmine
,flower
End file
- flower
       
- jasmine
       
- rose
- fruit
       
- orange
       
- cherry
       
- apple
- vegetable
       
- ginger
       
- garlic
       
- onion

View Diff

1,8c1,11
< apple,fruit
< onion,vegetable
< cherry,fruit
< garlic,vegetable
< ginger,vegetable
< rose,flower
< orange,fruit
< jasmine,flower
---
> - flower
>         - jasmine
>         - rose
> - fruit
>         - orange
>         - cherry
>         - apple
> - vegetable
>         - ginger
>         - garlic
>         - onion

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 93 remaining solutions by signing in and submitting your own entry
#94 JDP / @JDP68649035 - Score: 423 - 02/20/21 @ 18:00
?<BS>:g/flower/d<CR>u:s<BS>%s/flower/ <BS><CR>ggPuuuuujkkkkkkkkkkkkjjjjj:s/<BS><BS><BS>:%w<BS>s/flower/<BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS>uuuuuuukkkkkkkkpu-06jkkkkkkkk6jkkkkkkkkkk5jwwqwdwnq@wggpuouu<Esc>uO<Esc>p2jw#qwdwnq@w@wggo<Esc>pj*qwdwnq@q#qu<Esc>qqwdwq@wjkuuqwdwnq2wuqwdwnq2<Esc>@wggo<Esc>pGdwggjudwggo<Esc>p8jdb8ko<Esc>p9jdwudaw8ko<Esc>p4jdaw3kO<Esc>p2jdbkO<Esc>p:g/,<BS><BS><BS><BS><BS>jjddjddjjd<Esc>3ddddpkkddpddpkkddp<C-V><Up><Down><Down><Esc><Esc><C-V><Up><Up>Au<BS><Esc><C-V><Down><Down>0$A<BS><Esc>uqwxkjj0qkujjkkh0$qw$xjq#k<Esc>jkluuu<C-R><Esc>qw$xjq@w@w<C-V>ggI- <Esc>j<C-V>jI<Esc><C-V>j8I <Esc>3j<C-V>jj8I <Esc>4j<C-V>jj8I <Esc>:wq<CR>

0 comments


Created by: @canabady

94 active golfers, 413 entries

Leaderboard (lowest score wins):
86
#61 - Bruce Lee / @BruceLeeIII

07/25/2021 at 11:08PM

86
#62 - James Duffy / @jduffy3

04/12/2022 at 01:47AM

86
#63 - constap / @constap

04/18/2024 at 07:37PM

89
#64 - AAbraxas / @AAbraxas1

05/19/2021 at 09:04PM

89
#65 - J̻̕ͅo̠̻̘h̼̖n̙̩̝͕ D̹̗̗͝oe̶̱̥͙ / @JohnJDoe2

10/12/2022 at 01:13PM

90
#66 - vimgolfer220902 / @vimgolfer220902

09/19/2022 at 08:00AM

91
#67 - gugik / @rafgugi

06/15/2022 at 03:34PM

93
#68 - ouuan / @ouuan

06/15/2021 at 01:44AM

93
#69 - mst_ysk / @mstysk

03/14/2024 at 08:16AM

96
#70 - lnorbo / @lnorbo

06/10/2024 at 05:25PM

98
#71 - Dank City / @ddankcity

12/08/2022 at 07:44PM

99
#72 - Paul Page / @theRealPaulPage

01/21/2022 at 10:48PM

100
#73 - Kaepa69 / @kaepa3

09/09/2023 at 08:07AM

101
#74 - grosa / @_grosa_

06/08/2021 at 06:54AM

103
#75 - Danny Sanchez / @Dane1410s

03/14/2021 at 11:03PM

103
#76 - e1mnos / @e1mnos

08/10/2021 at 02:43PM

105
#77 - Ochirsum / @Ochirsum11

08/12/2021 at 04:39PM

108
#78 - shaik azhar madar / @azarudu

04/11/2021 at 09:33AM

108
#79 - Pieter-Jan Lavaerts / @Pumpkin_Pie_Eat

03/08/2024 at 02:27PM

111
#80 - Austin Willliams / @GuitarMusash616

11/13/2022 at 04:38AM

113
#81 - grsh / @girish_i_am

05/22/2021 at 12:43PM

114
#82 - Frédéric Heulin / @talineo

12/01/2023 at 05:04PM

115
#83 - Anthony Asp / @AnthonyAsp3

03/27/2022 at 05:36PM

134
#84 - 'ymdarake / @ymdarake

08/21/2022 at 02:29PM

135
#85 - kp097hg56 / @somewaterplease

03/13/2021 at 08:01PM

135
#86 - nickGPT / @nickandbro

08/24/2024 at 03:06AM

136
#87 - klafyvel fait des régressions / @klafyvel

09/30/2022 at 08:40PM

143
#88 - 盧小小 / @VegetaLu

04/02/2022 at 06:24AM

150
#89 - Vgaccount645 / @vgaccount616132

04/09/2023 at 01:45AM

182
#90 - zmf_tim / @zmf_tim

03/25/2021 at 10:55PM