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 56 remaining solutions by signing in and submitting your own entry
#57 William Ott / @oddalot - Score: 29 - 04/23/15 @ 21:24
qqdd:%s!<C-R>"<BS>.*\n!!<CR>ggq12@qddZZ

0 comments


Created by: @pftb12345

57 active golfers, 162 entries

Leaderboard (lowest score wins):
16
#31 - roudens / @roudens2

02/28/2021 at 02:22AM

18
#32 - horace / @hor1ace

04/23/2015 at 01:29PM

19
#33 - Daniel Byron / @dansolo17

04/23/2015 at 07:52AM

19
#34 - Roman Zolotarev / @romanzolotarev

04/23/2015 at 12:50PM

19
#35 - vgmct / @vgmct

04/25/2015 at 05:12PM

19
#36 - chvzvhn / @chvzvhn

04/25/2015 at 07:08PM

19
#37 - R. R. Provencher / @RRProvencher

05/09/2015 at 01:46AM

19
#38 - Gurukandhamoorthi / @Gurukandhamoor1

08/15/2017 at 03:16PM

20
#39 - mnx / @mnxx

04/24/2015 at 01:45PM

20
#40 - Michael Cramer / @mlcramer

04/25/2015 at 03:13AM

20
#41 - Olivier Debon / @OlivierSwift

04/30/2015 at 12:27PM

20
#42 - Tim Abramson / @timabramson

05/05/2015 at 01:02PM

20
#43 - Walker Boh / @walker_boh

10/12/2015 at 11:37AM

20
#44 - Carlos A HenrĂ­quez Q / @lagunex

03/13/2016 at 01:35PM

21
#45 - Rasmus P / @rasmup

04/25/2015 at 12:20PM

22
#46 - Oleg Parashchenko / @olparko

04/23/2015 at 11:10AM

22
#47 - Tom van der Lee / @TomVdLee

04/23/2015 at 12:16PM

22
#48 - Ryan Glassett / @rollsavager

04/23/2015 at 05:04PM

22
#49 - Jeff Parent / @jeffparent

04/23/2015 at 09:51PM

22
#50 - Jeanno / @JeannoHS

04/24/2015 at 08:20AM

22
#51 - olopost / @olopost

04/25/2015 at 08:55AM

22
#52 - James Baird / @jlbaird3

05/05/2015 at 12:35PM

22
#53 - Alex Bartol / @alexbartol

05/05/2015 at 07:01PM

22
#54 - Gerald Tilma / @GeraldTilma

10/21/2015 at 01:08AM

24
#55 - Eric.Wang / @wwhhtt202

08/03/2015 at 02:22PM

25
#56 - Anoop Kumar / @anooplive

04/25/2015 at 12:00AM

29
#57 - William Ott / @oddalot

04/23/2015 at 09:24PM