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

Prime Numbers - 401 entries

List the first 100 prime numbers.

  • Best score: 34
  • Best player score: 47
  • Position: #58 / 109
  • Number of attempts: 1
V to the i - 4885 entries

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

  • Best score: 7
  • Best player score: 8
  • Position: #820 / 1915
  • Number of attempts: 2
Extract argument from function - 2429 entries

The aim is to see if you can do some refactoring very fast.

  • Best score: 13
  • Best player score: 13
  • Position: #48 / 773
  • Number of attempts: 4
120 Degrees - 517 entries

Rotate that triangle.

  • Best score: 14
  • Best player score: 18
  • Position: #57 / 147
  • Number of attempts: 3
Do you demand a shrubbery? - 1208 entries

Use :redir and crush the emacsgolfers.

  • Best score: 15
  • Best player score: 15
  • Position: #20 / 310
  • Number of attempts: 7
Where should I put the Newline? - 912 entries

Help me put the newline.

  • Best score: 7
  • Best player score: 8
  • Position: #230 / 451
  • Number of attempts: 1
A HAPPY NEW YEAR 2014 ! - 10758 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 11
  • Position: #361 / 3717
  • Number of attempts: 3
attr_aligner - 3568 entries

Two attr keywords. Two separate indentations. Align the colons.

  • Best score: 19
  • Best player score: 30
  • Position: #374 / 711
  • Number of attempts: 4
Words in parens - 13054 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 14
  • Position: #402 / 3991
  • Number of attempts: 5
Ole Hansen
Twitter:

entered into 9 challenges

contributed 0 challenges