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 - 4616 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 16
  • Position: #1003 / 1268
  • Number of attempts: 2
One number per line - 18732 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 23
  • Position: #2799 / 3865
  • Number of attempts: 3
V to the i - 4806 entries

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

  • Best score: 7
  • Best player score: 14
  • Position: #1834 / 1894
  • Number of attempts: 1
Split line with dots - 2144 entries

This line is too long, split it.

  • Best score: 15
  • Best player score: 17
  • Position: #243 / 634
  • Number of attempts: 2
Just the middle - 11457 entries

Delete the instructions at the top and bottom.

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

Little role switching.

  • Best score: 12
  • Best player score: 17
  • Position: #1547 / 2129
  • Number of attempts: 2
Order and join - 983 entries

There's something special about the input order.

  • Best score: 10
  • Best player score: 16
  • Position: #225 / 259
  • Number of attempts: 1
Mirrored text - 177 entries

backward and forward, and long enough to be challenging

  • Best score: 14
  • Best player score: 16
  • Position: #46 / 71
  • Number of attempts: 1
Align commas - 1095 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: #176 / 246
  • Number of attempts: 2
From A to B - 591 entries

Mirror and change this text block

  • Best score: 16
  • Best player score: 40
  • Position: #156 / 159
  • Number of attempts: 2
Space out the alphabet - 1657 entries

Put 3 spaces between adjacent letters.

  • Best score: 15
  • Best player score: 49
  • Position: #441 / 444
  • Number of attempts: 1
I forgot quotes - 15989 entries

Oops.

  • Best score: 10
  • Best player score: 20
  • Position: #3601 / 4181
  • Number of attempts: 3
A HAPPY NEW YEAR 2014 ! - 10669 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 14
  • Position: #2771 / 3684
  • Number of attempts: 2
Words in parens - 12939 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 18
  • Position: #2900 / 3964
  • Number of attempts: 4
A Simple One - 1050 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 / 664
  • 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