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

1108 active golfers, 3932 entries

Leaderboard (lowest score wins):
16
#811 - Abner jr / @Abnerjr19

12/04/2019 at 01:16PM

16
#812 - Ian / @IanPartials

12/16/2019 at 06:24AM

16
#813 - None / @sh1chuang

01/09/2020 at 12:35PM

16
#814 - beew71493 / @beew71493

01/21/2020 at 02:53AM

16
#815 - Quentin Leroy / @qnleroy

05/14/2020 at 01:43PM

16
#816 - Yannick / @Yannick88147038

06/14/2020 at 08:16AM

16
#817 - dotvimrc / @dotvimrc1

07/06/2020 at 06:48AM

17
#818 - Teemu Okkonen / @TeemuOkkonen

07/08/2015 at 09:09AM

17
#819 - Rene Tianco / @murlockslol

07/10/2015 at 06:22AM

17
#820 - Jonas Ng / @jnshey

07/15/2015 at 10:36AM

17
#821 - Winston Cheong / @winstoncheong

07/18/2015 at 06:23AM

17
#822 - Christopher MCA / @christopherMCA

07/20/2015 at 03:46AM

17
#823 - Test / @goodbyetest1248

07/24/2015 at 02:56PM

17
#824 - Ásgeir Bjarnason / @abjarnasn

07/25/2015 at 12:46PM

17
#825 - damondouglas / @damondouglas

07/26/2015 at 04:55AM

17
#826 - Mateusz / @foobar98765

07/27/2015 at 09:13PM

17
#827 - Agnans / @agnans92

07/31/2015 at 03:37AM

17
#828 - Marc-Antoine BM / @marc_antoine_b

07/31/2015 at 07:27PM

17
#829 - James Fnord / @JamesFnord

07/31/2015 at 09:24PM

17
#830 - Ferdev vimgolf / @fergvimgolf

08/07/2015 at 02:05AM

17
#831 - gyermolenko / @gyermolenko_

08/11/2015 at 07:45AM

17
#832 - SilentFl / @Silent_Fl

08/13/2015 at 07:01AM

17
#833 - EvLSnoopY / @EvLSnoopY

08/17/2015 at 12:18AM

17
#834 - JerryChiu / @pv31508

08/19/2015 at 01:56PM

17
#835 - Jörg Meyer / @JoergMy

08/25/2015 at 09:26PM

17
#836 - David Harks / @TheWaterOnFire

08/26/2015 at 10:47AM

17
#837 - Rudolfs Sohn / @rudolf_son

08/28/2015 at 11:02AM

17
#838 - Léo S / @LeoSauvaget

08/28/2015 at 01:00PM

17
#839 - Markus / @I__Markus__I

08/30/2015 at 08:49PM

17
#840 - Morten Lund / @92morten

09/11/2015 at 04:21PM