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

934 active golfers, 3246 entries

Leaderboard (lowest score wins):
15
#571 - daniel / @daniel31464605

09/08/2018 at 07:03PM

15
#572 - duxinxiao / @duxinxiao

09/17/2018 at 04:48AM

15
#573 - konankun / @__konankun

09/22/2018 at 01:13AM

15
#574 - prince ducaca / @prince_du_caca

09/27/2018 at 10:51PM

15
#575 - caplod / @caplod

10/31/2018 at 04:26PM

15
#576 - PJ Frazer / @pj_frazer

11/24/2018 at 08:11PM

16
#577 - Anton Davydov / @anton_davydov

07/07/2015 at 08:16PM

16
#578 - James / @Dronak

07/08/2015 at 01:14AM

16
#579 - Olik / @oli33k

07/10/2015 at 04:21PM

16
#580 - raghu erapaneedi / @raghue9

07/13/2015 at 05:44PM

16
#581 - vimgolf / @myspare307

07/15/2015 at 11:00PM

16
#582 - T0ha / @T0ha666

07/16/2015 at 12:26PM

16
#583 - Milind Ganjoo / @mganjoo

07/16/2015 at 09:14PM

16
#584 - James Hudon / @jrbhudon

07/17/2015 at 04:50AM

16
#585 - Perry van Schaijk / @PvSchaijk

07/19/2015 at 12:44PM

16
#586 - Florian Lücke / @CannibalGorilla

07/20/2015 at 08:57PM

16
#587 - ushumpei / @ushumpei_

07/21/2015 at 04:06PM

16
#588 - Jason Schulz / @uxcn_

07/24/2015 at 10:21PM

16
#589 - McKay Ward / @mckayward

07/25/2015 at 09:05PM

16
#590 - Bruce Park / @bpark0

07/27/2015 at 10:39PM

16
#591 - Robbie Clarken / @robbieclarken

07/28/2015 at 10:58AM

16
#592 - Toni Dezman / @CesarekToni

07/28/2015 at 05:51PM

16
#593 - Bakhti Aripov / @bakhti

07/29/2015 at 09:14AM

16
#594 - Shubham Sharma / @shubh1337

07/29/2015 at 05:26PM

16
#595 - Mateusz Żak / @krejziwan

07/30/2015 at 09:30PM

16
#596 - Roland Crosby / @roooooland

08/03/2015 at 07:59PM

16
#597 - Brian Besmanoff / @BrianBesmanoff

08/06/2015 at 05:06AM

16
#598 - Curtis Cooley / @CurtisRCooley

08/07/2015 at 09:44PM

16
#599 - David Montague / @sirlamps

08/07/2015 at 10:40PM

16
#600 - Marin Usalj / @_supermarin

08/10/2015 at 07:59PM