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

Swap values - 4703 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 16
  • Position: #1016 / 1291
  • Number of attempts: 2
One number per line - 18894 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 23
  • Position: #2820 / 3901
  • Number of attempts: 3
V to the i - 4864 entries

Input is 99 V's. Output is 100 i's.

  • Best score: 7
  • Best player score: 14
  • Position: #1850 / 1912
  • Number of attempts: 1
Split line with dots - 2174 entries

This line is too long, split it.

  • Best score: 15
  • Best player score: 17
  • Position: #245 / 638
  • Number of attempts: 2
Just the middle - 11611 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Position: #611 / 4252
  • Number of attempts: 2
Vice versa - 8011 entries

Little role switching.

  • Best score: 12
  • Best player score: 17
  • Position: #1567 / 2153
  • Number of attempts: 2
Order and join - 1030 entries

There's something special about the input order.

  • Best score: 10
  • Best player score: 16
  • Position: #230 / 264
  • Number of attempts: 1
Mirrored text - 199 entries

backward and forward, and long enough to be challenging

  • Best score: 14
  • Best player score: 16
  • Position: #48 / 74
  • Number of attempts: 1
Align commas - 1105 entries

There are 15,000 aligning challenges on vimgolf.com, and they're all exactly the same. I hope this one is a little different.

  • Best score: 11
  • Best player score: 18
  • Position: #177 / 248
  • Number of attempts: 2
From A to B - 605 entries

Mirror and change this text block

  • Best score: 16
  • Best player score: 40
  • Position: #158 / 161
  • Number of attempts: 2
Space out the alphabet - 1691 entries

Put 3 spaces between adjacent letters.

  • Best score: 15
  • Best player score: 49
  • Position: #451 / 455
  • Number of attempts: 1
I forgot quotes - 16185 entries

Oops.

  • Best score: 10
  • Best player score: 20
  • Position: #3636 / 4221
  • Number of attempts: 3
A HAPPY NEW YEAR 2014 ! - 10749 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 14
  • Position: #2791 / 3712
  • Number of attempts: 2
Words in parens - 13033 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 18
  • Position: #2916 / 3987
  • Number of attempts: 4
A Simple One - 1079 entries

Here is a very simple one - just to illustrate/introduce a vim feature that some people seem to miss...

  • Best score: 9
  • Best player score: 9
  • Position: #428 / 677
  • Number of attempts: 1
Niru Maheswaranathan
Twitter:

trying to separate the signal from the noise; research engineer at Google Brain. formerly @Stanford, @DukeU, @SC_GSSM. opinions my own. ⚽️☕️👨🏾‍💻

entered into 15 challenges

contributed 0 challenges