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 55389fb1d6367c11201571d1

remove all lines in first part

From the second part, remove all lines in the first part. It can be useful when you have done something from a long list, you want to know what is not done yet!

Start file
vim = 22 / 7
A simple change
Basic renumbering
Just the middle
Search and Replace 0
That hyphen
Space out the alphabet
Do you demand a shrubbery?
Ugly spreadsheet copy/paste to CSV
Sort and add attributes
Simple text editing with Vim
Don't know what this is
Fix the XML

Shuffled numbers
camel riding
Just the middle
I forgot quotes
A HAPPY NEW YEAR 2014 !
Fix the XML
Words in parens
Basic renumbering
Space out the alphabet
V to the i
Simple text editing with Vim
-a-b-c-
That hyphen
Don't know what this is
ASCII box
Gray area
Where should I put the Newline?
Search and Replace 0
Do you demand a shrubbery?
Saving the hashes(#)
Vertical Limit
Separating firstname & lastname
Test everything!
Sort and add attributes
Ugly spreadsheet copy/paste to CSV
vim = 22 / 7
Subtraction
A simple change
you're stuck on jQuery < 1.7
PHP Array Syntax -> MailChimp Merge Syntax
End file
Shuffled numbers
camel riding
I forgot quotes
A HAPPY NEW YEAR 2014 !
Words in parens
V to the i
-a-b-c-
ASCII box
Gray area
Where should I put the Newline?
Saving the hashes(#)
Vertical Limit
Separating firstname & lastname
Test everything!
Subtraction
you're stuck on jQuery < 1.7
PHP Array Syntax -> MailChimp Merge Syntax

View Diff

1,14d0
< vim = 22 / 7
< A simple change
< Basic renumbering
< Just the middle
< Search and Replace 0
< That hyphen
< Space out the alphabet
< Do you demand a shrubbery?
< Ugly spreadsheet copy/paste to CSV
< Sort and add attributes
< Simple text editing with Vim
< Don't know what this is
< Fix the XML
< 
17d2
< Just the middle
20d4
< Fix the XML
22,23d5
< Basic renumbering
< Space out the alphabet
25d6
< Simple text editing with Vim
27,28d7
< That hyphen
< Don't know what this is
32,33d10
< Search and Replace 0
< Do you demand a shrubbery?
38,40d14
< Sort and add attributes
< Ugly spreadsheet copy/paste to CSV
< vim = 22 / 7
42d15
< A simple change

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 40 remaining solutions by signing in and submitting your own entry
#41 Tom van der Lee / TomVdLee - Score: 22 - 04/23/15 @ 12:16
qqdd:g:<C-R>"<BS>:d<CR>ggq13@qZZ

0 comments

#42 Ryan Glassett / rollsavager - Score: 22 - 04/23/15 @ 17:04
qqdd:g:<C-R>"<BS>:d<CR>ggq13@qZZ

0 comments

#43 Jeff Parent / jeffparent - Score: 22 - 04/23/15 @ 21:51
qqdd:g:<C-R>"<BS>:d<CR>``q13@QZZ

0 comments

#44 Jeanno / JeannoHS - Score: 22 - 04/24/15 @ 08:20
qqdd:g:<C-R>"<BS>:d<CR>ggq13@qZZ

0 comments

#45 olopost / olopost - Score: 22 - 04/25/15 @ 08:55
qqdd:g:<C-R>"<BS>:d<CR>ggq13@qZZ

0 comments

#46 James Baird / jlbaird3 - Score: 22 - 05/05/15 @ 12:35
qqdd:g:<C-R>"<BS>:d<CR>ggq13@qZZ

0 comments

#47 Alex Bartol / alexbartol - Score: 22 - 05/05/15 @ 19:01
qqdd:g:<C-R>"<BS>:d<CR>``q13@qZZ

0 comments

#48 Gerald Tilma / GeraldTilma - Score: 22 - 10/21/15 @ 01:08
qqdd:g#<C-R>"<BS>#d<CR>ggq13@qZZ

0 comments

#49 Eric.Wang / wwhhtt202 - Score: 24 - 08/03/15 @ 14:22
:d<CR>uqadd/<C-R>"<C-H><CR>ddggq13@aZZ

0 comments

#50 Anoop Kumar / anooplive - Score: 25 - 04/25/15 @ 00:00
qqy$/<C-R>"<CR>ddggP2ddq12@qddZZ

0 comments

#51 William Ott / oddalot - Score: 29 - 04/23/15 @ 21:24
qqdd:%s!<C-R>"<BS>.*\n!!<CR>ggq12@qddZZ

0 comments

Created by: pftb12345

51 active golfers, 122 entries

Leaderboard (lowest score wins):
13
#1 - Urtica dioica / udioica

04/23/2015 at 11:51AM

14
#2 - John Braxler / braxler

04/23/2015 at 02:02PM

14
#3 - Petro Тrouq / zulolosi

04/23/2015 at 07:28PM

14
#4 - Rui Mendes / rcm_dium

05/06/2015 at 07:26PM

14
#5 - Mutter Mumble / muttermumble

07/11/2015 at 12:54PM

14
#6 - Daniel / Daniel00288663

04/05/2017 at 03:12PM

15
#7 - Tim Chase / gumnos

04/23/2015 at 01:21PM

15
#8 - Louis Caruana / louiecaruana

04/23/2015 at 01:49PM

15
#9 - i5513 / i5513

04/23/2015 at 03:23PM

15
#10 - Matthieu Crapet / mcr05

04/24/2015 at 11:32AM

15
#11 - E Both / enboth

04/24/2015 at 01:14PM

15
#12 - Benny Wong / bdotdub

04/24/2015 at 03:43PM

15
#13 - Andreas Carben / meiner_eins

04/24/2015 at 07:55PM

15
#14 - Evan Coleman / edc1591

04/24/2015 at 09:36PM

15
#15 - Ala' Ibrahim / alaa_ibrahim

04/25/2015 at 08:06AM

15
#16 - Johannes Elferich / jojoelfe

04/26/2015 at 01:10AM

15
#17 - Antony Scriven / antonyscriven

04/27/2015 at 06:11AM

15
#18 - danweaver / danweaver

05/14/2015 at 03:19PM

15
#19 - Lifepillar / lifepillar

06/24/2015 at 02:36PM

15
#20 - Skúli Jóhannsson / skulibj

06/26/2015 at 04:33PM

15
#21 - Louis Burke / LambdaABeta

07/13/2015 at 01:48PM

15
#22 - Jon Krause / jkrause314

01/09/2016 at 05:22AM

15
#23 - Dimitar Dimitrov / kurkale6ka

04/20/2016 at 07:37AM

15
#24 - Ben Hill / KaizenSoze70

07/10/2017 at 06:41PM

16
#25 - Assaf Lavie / AssafLavie

04/26/2015 at 06:19PM

18
#26 - horace / hor1ace

04/23/2015 at 01:29PM

19
#27 - Daniel Byron / dansolo17

04/23/2015 at 07:52AM

19
#28 - Roman Zolotarev / romanzolotarev

04/23/2015 at 12:50PM

19
#29 - vgmct / vgmct

04/25/2015 at 05:12PM

19
#30 - chvzvhn / chvzvhn

04/25/2015 at 07:08PM

19
#31 - R. R. Provencher / RRProvencher

05/09/2015 at 01:46AM

19
#32 - Gurukandhamoorthi / Gurukandhamoor1

08/15/2017 at 03:16PM

20
#33 - mnx / mnxx

04/24/2015 at 01:45PM

20
#34 - Michael Cramer / mlcramer

04/25/2015 at 03:13AM

20
#35 - Olivier Debon / OlivierSwift

04/30/2015 at 12:27PM

20
#36 - Tim Abramson / timabramson

05/05/2015 at 01:02PM

20
#37 - Walker Boh / walker_boh

10/12/2015 at 11:37AM

20
#38 - Carlos A Henríquez Q / lagunex

03/13/2016 at 01:35PM

21
#39 - Rasmus P / rasmup

04/25/2015 at 12:20PM

22
#40 - Oleg Parashchenko / olparko

04/23/2015 at 11:10AM

22
#41 - Tom van der Lee / TomVdLee

04/23/2015 at 12:16PM

22
#42 - Ryan Glassett / rollsavager

04/23/2015 at 05:04PM

22
#43 - Jeff Parent / jeffparent

04/23/2015 at 09:51PM

22
#44 - Jeanno / JeannoHS

04/24/2015 at 08:20AM

22
#45 - olopost / olopost

04/25/2015 at 08:55AM

22
#46 - James Baird / jlbaird3

05/05/2015 at 12:35PM

22
#47 - Alex Bartol / alexbartol

05/05/2015 at 07:01PM

22
#48 - Gerald Tilma / GeraldTilma

10/21/2015 at 01:08AM

24
#49 - Eric.Wang / wwhhtt202

08/03/2015 at 02:22PM

25
#50 - Anoop Kumar / anooplive

04/25/2015 at 12:00AM

29
#51 - William Ott / oddalot

04/23/2015 at 09:24PM