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

Space out the alphabet - 1382 entries

Put 3 spaces between adjacent letters.

  • Best score: 15
  • Best player score: 49
  • Number of attempts: 1
From A to B - 496 entries

Mirror and change this text block

  • Best score: 16
  • Best player score: 40
  • Number of attempts: 2
One number per line - 13395 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 23
  • Number of attempts: 3
V to the i - 3975 entries

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

  • Best score: 7
  • Best player score: 14
  • Number of attempts: 1
Split line with dots - 1865 entries

This line is too long, split it.

  • Best score: 15
  • Best player score: 17
  • Number of attempts: 2
I forgot quotes - 12156 entries

Oops.

  • Best score: 10
  • Best player score: 20
  • Number of attempts: 3
A Simple One - 845 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
  • Number of attempts: 1
Swap values - 3626 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 16
  • Number of attempts: 2
Order and join - 756 entries

There's something special about the input order.

  • Best score: 10
  • Best player score: 16
  • Number of attempts: 1
Vice versa - 6070 entries

Little role switching.

  • Best score: 12
  • Best player score: 17
  • Number of attempts: 2
A HAPPY NEW YEAR 2014 ! - 9607 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 14
  • Number of attempts: 2
Words in parens - 11172 entries

We should all ace this, right?

  • Best score: 14
  • Best player score: 18
  • Number of attempts: 4
Just the middle - 9424 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Number of attempts: 2
Align commas - 854 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
  • Number of attempts: 2
Mirrored text - 153 entries

backward and forward, and long enough to be challenging

  • Best score: 14
  • Best player score: 16
  • 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