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
#421 - Sherab Giovannini / @shaddycls

05/02/2019 at 09:58PM

12
#422 - eric huang / @EricGodhand4826

05/04/2019 at 07:18PM

12
#423 - Kai.Li / @KaiLi19

05/06/2019 at 03:00PM

12
#424 - David McDonald / @dmcdona

05/19/2019 at 12:33AM

12
#425 - Fiffy / @sr21486642

05/22/2019 at 07:25AM

12
#426 - mkaminaga / @mkmng3

06/07/2019 at 01:19PM

12
#427 - Seunghun Lee / @earlbread

06/12/2019 at 03:57PM

12
#428 - Miłosz Łakomy / @foobar01123

06/17/2019 at 05:06AM

12
#429 - majo senf / @majo_senf

06/17/2019 at 07:37AM

12
#430 - せいほう / @FICSQF

07/04/2019 at 02:49PM

12
#431 - Peter Demin / @peterdemin

07/11/2019 at 06:46PM

12
#432 - Rasmus Öhman Bruno / @rasmohman

07/23/2019 at 12:31PM

12
#433 - Matt Vaughn / @mattttvaughn

07/29/2019 at 01:32PM

12
#434 - Joe Fahnestock🌵 / @Joecupojoe

08/01/2019 at 07:17AM

12
#435 - Ron Holt / @ron_holt

08/07/2019 at 10:16PM

12
#436 - sooqua / @sooqua

08/08/2019 at 07:07PM

12
#437 - Clint Caudle / @ClintCaudle

08/20/2019 at 11:40PM

12
#438 - Martin Delille / @martinodelilo

08/22/2019 at 05:04PM

12
#439 - Adam Hartz / @awareofnow

08/24/2019 at 05:26PM

12
#440 - José / @AngelGaldamez

08/26/2019 at 05:35PM

12
#441 - BESSENG A IREH Guy / @guybesseng

09/05/2019 at 12:50PM

12
#442 - Cassandra / @kascein

09/17/2019 at 07:51PM

12
#443 - Marco Mannucci / @markomannux

09/18/2019 at 04:57PM

12
#444 - Brandon Harrison / @llAboutB

09/24/2019 at 06:05PM

12
#445 - Viktor Styrud / @ViktorStyrud

10/03/2019 at 12:05PM

12
#446 - Adrian Craciun / @adi_craciun

10/03/2019 at 05:08PM

12
#447 - Homo Ludens / @BsMainly

10/17/2019 at 09:39PM

12
#448 - vimgolfer / @vimgolfer7

10/21/2019 at 01:17AM

12
#449 - Mario Olofo / @mario_olofo

10/21/2019 at 06:19PM

12
#450 - Ivan Volosyuk / @IvanVolosyuk

10/29/2019 at 12:46PM