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 [challenge ID]

Played Challenges

Hogwarts Email Sorting - 948 entries

Given a list of emails, get the students full name and their associated house.

  • Best score: 20
  • Best player score: 20
  • Position: #39 / 268
  • Number of attempts: 4
Get mail address from outlook format - 656 entries

Create a mail list space separated of mail list formatted by outlook

  • Best score: 15
  • Best player score: 15
  • Position: #53 / 205
  • Number of attempts: 5
Quote modules - 1099 entries

Complete golang import statement.

  • Best score: 21
  • Best player score: 27
  • Position: #178 / 287
  • Number of attempts: 3
Swap values inside brackets - 2539 entries

Easy challenge.

  • Best score: 13
  • Best player score: 14
  • Position: #97 / 590
  • Number of attempts: 7
Add semicolons - 10923 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Position: #1604 / 3087
  • Number of attempts: 6
Com(m)a Trouble - 3968 entries

Someone was real stupid when placing his commas. Can you fix it?

  • Best score: 12
  • Best player score: 26
  • Position: #743 / 901
  • Number of attempts: 4
Every other line - 2925 entries

AaAaAaA

  • Best score: 12
  • Best player score: 16
  • Position: #414 / 707
  • Number of attempts: 5
Copy three lines - 2882 entries

If the site is up (by some miracle), make the text under every header identical.

  • Best score: 13
  • Best player score: 20
  • Position: #424 / 642
  • Number of attempts: 4
Just the middle - 11555 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #3123 / 4234
  • Number of attempts: 3
JS notation to Immutable.js notation - 186 entries

Now Immutable.js made its way into many frontends. This challenge consists of a typical refactoring that many of us are facing now.

  • Best score: 34
  • Best player score: 41
  • Position: #43 / 63
  • Number of attempts: 1
Fix the XML - 1039 entries

The challenge consists in having a valid xml from an incomplete source.

  • Best score: 18
  • Best player score: 28
  • Position: #230 / 290
  • Number of attempts: 4
I forgot quotes - 16127 entries

Oops.

  • Best score: 10
  • Best player score: 17
  • Position: #3091 / 4208
  • Number of attempts: 3
-a-b-c- - 3225 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 13
  • Position: #295 / 1140
  • Number of attempts: 8
Mess in revision history - 1210 entries

Help Joe clean up what Steve has cobbled.

  • Best score: 17
  • Best player score: 37
  • Position: #222 / 254
  • Number of attempts: 6
A HAPPY NEW YEAR 2014 ! - 10721 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 11
  • Position: #1547 / 3704
  • Number of attempts: 5
switch variable - 5101 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 11
  • Position: #627 / 1756
  • Number of attempts: 6
Reformat/Refactor a Golfer Class - 7517 entries

A simple case of removing unneeded code and fixing broken indentation.

  • Best score: 7
  • Best player score: 45
  • Position: #1223 / 1851
  • Number of attempts: 5
vim-golf-requirement
Twitter:

entered into 17 challenges

contributed 0 challenges