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

0 comments


Created by: @pftb12345

67 active golfers, 211 entries

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

04/23/2015 at 11:51AM

13
#2 - John Braxler / @braxler

07/09/2019 at 03:20PM

13
#3 - Peppa Pig / @PeppaPigSg

08/06/2024 at 12:44AM

14
#4 - Petro Тrouq / @zulolosi

04/23/2015 at 07:28PM

14
#5 - Rui Mendes / @rcm_dium

05/06/2015 at 07:26PM

14
#6 - Mutter Mumble / @muttermumble

07/11/2015 at 12:54PM

14
#7 - Daniel / @Daniel00288663

04/05/2017 at 03:12PM

14
#8 - Turkey Man / @lvturkeyman

07/27/2018 at 03:41AM

14
#9 - Simon Ingelsson / @_DeVVaN_

08/16/2018 at 02:38PM

14
#10 - Mihai / @mihaicristiant

04/11/2019 at 06:40AM

14
#11 - Jean George / @JeanGeo20504212

06/07/2022 at 06:19AM

14
#12 - russellzhaomao / @russellzhaomao

06/19/2022 at 01:39AM

14
#13 - nickGPT / @nickandbro

08/28/2024 at 04:14AM

15
#14 - Tim Chase / @gumnos

04/23/2015 at 01:21PM

15
#15 - Louis Caruana / @louiecaruana

04/23/2015 at 01:49PM

15
#16 - i5513 / @i5513

04/23/2015 at 03:23PM

15
#17 - Matt / @mcr05

04/24/2015 at 11:32AM

15
#18 - E Both / @enboth

04/24/2015 at 01:14PM

15
#19 - Benny Wong / @bdotdub

04/24/2015 at 03:43PM

15
#20 - Andreas Carben / @meiner_eins

04/24/2015 at 07:55PM

15
#21 - Evan Coleman / @edc1591

04/24/2015 at 09:36PM

15
#22 - Ala' Ibrahim / @alaa_ibrahim

04/25/2015 at 08:06AM

15
#23 - Johannes Elferich / @jojoelfe

04/26/2015 at 01:10AM

15
#24 - Antony Scriven / @antonyscriven

04/27/2015 at 06:11AM

15
#25 - danweaver / @danweaver

05/14/2015 at 03:19PM

15
#26 - Lifepillar / @lifepillar

06/24/2015 at 02:36PM

15
#27 - Skúli Jóhannsson / @skulibj

06/26/2015 at 04:33PM

15
#28 - Louis Burke / @LambdaABeta

07/13/2015 at 01:48PM

15
#29 - Jon Krause / @jkrause314

01/09/2016 at 05:22AM

15
#30 - Dimitar Dimitrov / @kurkale6ka

04/20/2016 at 07:37AM