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 559c30948ef59c0eb7000002

Collect List

Convert to comma separated list.

Start file
* item1
* item2
* item3
* item4
* item5
End file
item1,item2,item3,item4,item5

View Diff

1,5c1
< * item1
< * item2
< * item3
< * item4
< * item5
---
> item1,item2,item3,item4,item5

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 1038 remaining solutions by signing in and submitting your own entry
#1039 Radoslav Ivanov / @rivanov1 - Score: 89 - 09/15/15 @ 18:30
<C-V>ljjjjdqa$i,<BS><Esc><Esc><Esc>hhhhh$a,jj<BS><BS><Esc>dl<Esc><Esc>i<Esc><Esc>lla,jj<BS><BS><Esc><Esc>lj^i<BS>jj<BS><BS><Esc><Esc>qjh^i<BS>,jj<BS><BS><Esc><Esc>$j^i<BS>,<Esc><Esc>j^i<BS>,<Esc><Esc>:wq<CR>

0 comments


Created by: @compilejason

1039 active golfers, 3634 entries

Leaderboard (lowest score wins):
12
#241 - Mateusz / @Mantos77

09/23/2016 at 06:29PM

12
#242 - Nico / @_Nico_Caro

09/26/2016 at 03:16AM

12
#243 - 박 재 성 / @javajigi

09/27/2016 at 08:46AM

12
#244 - Anthony Ardito / @aardito21

09/27/2016 at 05:37PM

12
#245 - Netrisk Cool / @C00lt0

09/29/2016 at 08:36PM

12
#246 - manbogot / @gmanbor

10/01/2016 at 10:27AM

12
#247 - Matt Rasmus / @_mattrasmus

10/10/2016 at 03:22PM

12
#248 - trx / @trxdbg

10/11/2016 at 05:37AM

12
#249 - Nikos Kwlos / @Kwlos_Calling

10/11/2016 at 09:17PM

12
#250 - Christian Rondeau / @c_rondeau

10/16/2016 at 01:33PM

12
#251 - Igor Czerwinski / @igoratron

10/23/2016 at 02:17PM

12
#252 - Mark Dawson / @drmarkdawson

10/25/2016 at 07:06AM

12
#253 - Bill Ruddock / @biinari

10/26/2016 at 12:51AM

12
#254 - 子皓翁 / @geniusgordon

10/26/2016 at 08:24AM

12
#255 - KangHun Seo / @shirano80

10/31/2016 at 02:58AM

12
#256 - Davis Fields / @i301585

11/05/2016 at 12:45AM

12
#257 - Alan Turing / @alantrng

11/15/2016 at 11:35AM

12
#258 - i1464083 / @i1464083

11/18/2016 at 12:16PM

12
#259 - Wessel Sinnema / @wsinnema

11/26/2016 at 07:44PM

12
#260 - Jon Louie / @jjisnow

12/01/2016 at 02:39AM

12
#261 - Nessig / @Nessig5

12/18/2016 at 05:58AM

12
#262 - Shashwat Raghuvanshi / @Shashwat_sr123

12/18/2016 at 01:59PM

12
#263 - Craig Langford / @cllangfo

12/19/2016 at 12:37AM

12
#264 - Douglas Roper / @dougdroper

12/19/2016 at 10:05AM

12
#265 - Pierre Maoui / @poupougnac

12/20/2016 at 02:41PM

12
#266 - Jan Eisenhauer / @EisenhauerJan

12/23/2016 at 10:19PM

12
#267 - Eduardo Hashimoto / @eduhashi

12/29/2016 at 08:38PM

12
#268 - Abc Def / @phweiss1

01/04/2017 at 12:47PM

12
#269 - Patrick Sanan / @patricksanan

01/08/2017 at 02:43PM

12
#270 - Social Botolinum / @SocialBot4

01/15/2017 at 04:09PM