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 63 remaining solutions by signing in and submitting your own entry
#64 POSIX / @po6ix - Score: 36 - 01/23/22 @ 03:36
14dd2j1.2j.j2.j1.j2.2jj2.jjjj3.j1.ZZ

0 comments


Created by: @pftb12345

64 active golfers, 189 entries

Leaderboard (lowest score wins):
15
#31 - RockerZZY / @rocker_zzy

08/11/2020 at 12:42PM

15
#32 - mevmev / @mevmev8

12/10/2021 at 01:12AM

15
#33 - Janzen / @__Coos

09/29/2022 at 12:01PM

16
#34 - we’re going to need a bigger bot / @assaflavie

04/26/2015 at 06:19PM

16
#35 - roudens / @roudens2

02/28/2021 at 02:22AM

18
#36 - horace / @hor1ace

04/23/2015 at 01:29PM

19
#37 - Daniel Byron / @dansolo17

04/23/2015 at 07:52AM

19
#38 - Roman Zolotarev / @romanzolotarev

04/23/2015 at 12:50PM

19
#39 - vgmct / @vgmct

04/25/2015 at 05:12PM

19
#40 - chvzvhn / @chvzvhn

04/25/2015 at 07:08PM

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

05/09/2015 at 01:46AM

19
#42 - Gurukandhamoorthi / @Gurukandhamoor1

08/15/2017 at 03:16PM

20
#43 - mnx / @mnxx

04/24/2015 at 01:45PM

20
#44 - Michael Cramer / @mlcramer

04/25/2015 at 03:13AM

20
#45 - Olivier Debon / @OlivierSwift

04/30/2015 at 12:27PM

20
#46 - Tim Abramson / @timabramson

05/05/2015 at 01:02PM

20
#47 - Walker Boh / @walker_boh

10/12/2015 at 11:37AM

20
#48 - Carlos A Henríquez Q / @lagunex

03/13/2016 at 01:35PM

20
#49 - Auri Iodide / @auri_iodide

03/06/2022 at 08:22AM

21
#50 - Rasmus P / @rasmup

04/25/2015 at 12:20PM

22
#51 - Oleg Parashchenko / @olparko

04/23/2015 at 11:10AM

22
#52 - Tom van der Lee / @TomVdLee

04/23/2015 at 12:16PM

22
#53 - Ryan Glassett / @rollsavager

04/23/2015 at 05:04PM

22
#54 - Jeff Parent / @jeffparent

04/23/2015 at 09:51PM

22
#55 - Jeanno / @JeannoHS

04/24/2015 at 08:20AM

22
#56 - olopost / @olopost

04/25/2015 at 08:55AM

22
#57 - James Baird / @jlbaird3

05/05/2015 at 12:35PM

22
#58 - Alex Bartol / @alexbartol

05/05/2015 at 07:01PM

22
#59 - Gerald Tilma / @GeraldTilma

10/21/2015 at 01:08AM

24
#60 - Eric.Wang / @wwhhtt202

08/03/2015 at 02:22PM