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 990 remaining solutions by signing in and submitting your own entry
#991 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

991 active golfers, 3467 entries

Leaderboard (lowest score wins):
18
#901 - Nathanael / @ngsilverman

05/09/2018 at 04:10AM

18
#902 - William I. Olojede / @williamolojede

05/27/2018 at 11:56AM

18
#903 - ¬¬¬ ¬¬¬ / @WLq3KGhxohrCPl1

07/09/2018 at 03:44AM

18
#904 - Just...That / @I_am_JustThat

07/27/2018 at 02:37PM

18
#905 - Brent Woo / @BrentPWoo

10/02/2018 at 02:38PM

18
#906 - Gabriel Walford / @gtwalford

10/19/2018 at 07:50PM

18
#907 - Mark Watson / @mrkrwtsn

10/19/2018 at 07:51PM

18
#908 - ʎɐɹ / @staticjak

10/19/2018 at 08:21PM

18
#909 - Chris Maher / @chrismaherthe

11/15/2018 at 04:15PM

18
#910 - band / @band26376522

12/09/2018 at 12:03AM

18
#911 - Sondre Lunde / @SondreSL

12/30/2018 at 11:59AM

18
#912 - Marcio M Pereira / @iviarcio

12/30/2018 at 01:15PM

18
#913 - Heungsub Lee / @eelbus

01/20/2019 at 04:00PM

18
#914 - tenteke / @kuskus3

02/16/2019 at 12:22AM

18
#915 - alexandrasou / @alexandrasou2

05/22/2019 at 01:40PM

18
#916 - mirsemen / @mirsemen1

07/16/2019 at 02:57AM

19
#917 - Michael Cramer / @mlcramer

07/13/2015 at 02:49AM

19
#918 - hidnasio / @hidnasio

07/20/2015 at 01:35AM

19
#919 - alex / @alexAngle8

08/21/2015 at 08:25PM

19
#920 - Otto / @OttoRottier

10/19/2015 at 07:47PM

19
#921 - manfred knapp / @fred_pooshka

12/10/2015 at 10:06PM

19
#922 - aashiq / @aashiq

01/12/2016 at 08:15AM

19
#923 - ゾーブフィッシュ / @zorbfish

03/07/2016 at 01:38AM

19
#924 - Joe McKenney / @mckenney00

03/19/2016 at 05:43AM

19
#925 - Jonathan / @jmcphers

08/16/2016 at 08:02PM

19
#926 - Ryan Coopersmith / @RyanCoopersmit1

06/04/2017 at 09:24PM

19
#927 - Marcin Paliwoda / @eukaliptuss

08/25/2017 at 02:25PM

19
#928 - BPD / @brian_doyle

11/11/2017 at 03:33PM

19
#929 - Daniel de Vries / @devries_d

02/07/2018 at 04:04PM

19
#930 - Austin Ware / @AustinWare17

03/12/2018 at 07:35PM