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

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

  • Best score: 7
  • Best player score: 8
  • Position: #822 / 1917
  • Number of attempts: 2
Extract argument from function - 2430 entries

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

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

Rotate that triangle.

  • Best score: 14
  • Best player score: 18
  • Position: #57 / 148
  • 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? - 916 entries

Help me put the newline.

  • Best score: 7
  • Best player score: 8
  • Position: #231 / 453
  • Number of attempts: 1
A HAPPY NEW YEAR 2014 ! - 10757 entries

A HAPPY NEW YEAR 2014 !

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

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

  • Best score: 7
  • Best player score: 30
  • Position: #375 / 712
  • Number of attempts: 4
Words in parens - 13063 entries

We should all ace this, right?

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

entered into 9 challenges

contributed 0 challenges