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: 374
  • Position: #102 / 109
  • Number of attempts: 1
Search and Replace 0 - 5167 entries

Replace every instance of 'aaa' with 'xaaax'.

  • Best score: 12
  • Best player score: 12
  • Position: #60 / 1677
  • Number of attempts: 2
The name of the game - 704 entries

End up with the name of the game.

  • Best score: 11
  • Best player score: 12
  • Position: #293 / 372
  • Number of attempts: 1
Generate English Alphabets - 540 entries

Start with a, get up to z.

  • Best score: 19
  • Best player score: 25
  • Position: #87 / 216
  • Number of attempts: 2
The holy-grail may help - 408 entries

Can you find it in less than 20 strokes, Arthur?

  • Best score: 16
  • Best player score: 23
  • Position: #202 / 222
  • Number of attempts: 1
Reverse and count - 502 entries

Someone typed things upside down and now a Vim ninja needs to reverse the lines and count how many there are.

  • Best score: 18
  • Best player score: 33
  • Position: #147 / 182
  • Number of attempts: 1
Letters are numbers - 179 entries

Letters and numbers are interchangeable. A lot of programming languages give you simple ways to convert individual letters to hex, binary and decimal but does Vim?

  • Best score: 20
  • Best player score: 32
  • Position: #57 / 78
  • Number of attempts: 2
Reverse Simple Deletion - 875 entries

You did the simple deletion, now reverse it.

  • Best score: 11
  • Best player score: 12
  • Position: #92 / 467
  • Number of attempts: 2
Increment, increment, increment.... - 710 entries

Vim likes macros

  • Best score: 10
  • Best player score: 12
  • Position: #177 / 418
  • Number of attempts: 1
Sorting paragraphs - 569 entries

Order the paragraphs correctly, per prefixed index

  • Best score: 18
  • Best player score: 25
  • Position: #56 / 170
  • Number of attempts: 4
The Cake is a Lie - 1419 entries

Correct the capitalization of each word

  • Best score: 8
  • Best player score: 9
  • Position: #66 / 544
  • Number of attempts: 3
Almost encrypted - 212 entries

Convert the first paragraph to be even less readable.

  • Best score: 5
  • Best player score: 5
  • Position: #26 / 150
  • Number of attempts: 1
Get rid of html tags - 465 entries

Want to read more about Vim's background? Then get rid of those html tags...

  • Best score: 12
  • Best player score: 17
  • Position: #66 / 262
  • Number of attempts: 1
Simple text editing with Vim - 13668 entries

Make the pairs of lines match up by making each second line same as first

  • Best score: 13
  • Best player score: 17
  • Position: #2468 / 3915
  • Number of attempts: 2
Stephan Weller
Twitter:

entered into 14 challenges

contributed 0 challenges