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

1167 active golfers, 4184 entries

Leaderboard (lowest score wins):
16
#841 - XenoRiS / @XenoRiS1

02/16/2019 at 04:57PM

16
#842 - andrwyoung / @andrwyoung1

03/04/2019 at 07:25PM

16
#843 - J. Nick Terry / @deft_code

04/08/2019 at 09:30PM

16
#844 - chihiro / @chihiro0940

05/09/2019 at 02:06PM

16
#845 - Phoon / @justflashhim

05/13/2019 at 12:47AM

16
#846 - Nick Yeow / @nickyeow

05/22/2019 at 12:19PM

16
#847 - Sean Sullivan / @_seanyneutron

07/12/2019 at 04:33AM

16
#848 - theBecwar / @thebecwar

08/18/2019 at 06:44PM

16
#849 - Ariel Miculas / @ArielMiculas

09/19/2019 at 12:40PM

16
#850 - vicver09 / @vicver091

11/04/2019 at 03:38PM

16
#851 - pysnow530 / @pysnow530

11/21/2019 at 05:12AM

16
#852 - Abnermtj / @Abnerjr19

12/04/2019 at 01:16PM

16
#853 - Ian / @IanPartials

12/16/2019 at 06:24AM

16
#854 - None / @sh1chuang

01/09/2020 at 12:35PM

16
#855 - beew71493 / @beew71493

01/21/2020 at 02:53AM

16
#856 - Quentin Leroy / @qnleroy

05/14/2020 at 01:43PM

16
#857 - Yannick / @Yannick88147038

06/14/2020 at 08:16AM

16
#858 - dotvimrc / @dotvimrc1

07/06/2020 at 06:48AM

16
#859 - Manas / @weirdsmiley_

11/23/2020 at 08:33PM

16
#860 - tom / @marlow_th

05/10/2021 at 07:56PM

17
#861 - Teemu Okkonen / @TeemuOkkonen

07/08/2015 at 09:09AM

17
#862 - Rene Tianco / @murlockslol

07/10/2015 at 06:22AM

17
#863 - Jonas Ng / @jnshey

07/15/2015 at 10:36AM

17
#864 - Winston Cheong / @winstoncheong

07/18/2015 at 06:23AM

17
#865 - Christopher MCA / @christopherMCA

07/20/2015 at 03:46AM

17
#866 - Test / @goodbyetest1248

07/24/2015 at 02:56PM

17
#867 - Ásgeir Bjarnason / @abjarnasn

07/25/2015 at 12:46PM

17
#868 - damondouglas / @damondouglas

07/26/2015 at 04:55AM

17
#869 - Mateusz / @foobar98765

07/27/2015 at 09:13PM

17
#870 - Agnans / @agnans92

07/31/2015 at 03:37AM