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

List the first 100 prime numbers.

  • Best score: 34
  • Best player score: 374
  • Position: #91 / 98
  • Number of attempts: 1
Search and Replace 0 - 4676 entries

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

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

End up with the name of the game.

  • Best score: 11
  • Best player score: 12
  • Position: #271 / 344
  • Number of attempts: 1
Generate English Alphabets - 438 entries

Start with a, get up to z.

  • Best score: 19
  • Best player score: 25
  • Position: #78 / 194
  • Number of attempts: 2
The holy-grail may help - 322 entries

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

  • Best score: 16
  • Best player score: 23
  • Position: #180 / 196
  • Number of attempts: 1
Reverse and count - 415 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: #133 / 159
  • Number of attempts: 1
Letters are numbers - 138 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: #52 / 69
  • Number of attempts: 2
Reverse Simple Deletion - 772 entries

You did the simple deletion, now reverse it.

  • Best score: 11
  • Best player score: 12
  • Position: #81 / 432
  • Number of attempts: 2
Increment, increment, increment.... - 591 entries

Vim likes macros

  • Best score: 10
  • Best player score: 12
  • Position: #146 / 378
  • Number of attempts: 1
Sorting paragraphs - 495 entries

Order the paragraphs correctly, per prefixed index

  • Best score: 18
  • Best player score: 25
  • Position: #48 / 153
  • Number of attempts: 4
The Cake is a Lie - 1215 entries

Correct the capitalization of each word

  • Best score: 9
  • Best player score: 9
  • Position: #65 / 491
  • Number of attempts: 3
Almost encrypted - 182 entries

Convert the first paragraph to be even less readable.

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

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

  • Best score: 15
  • Best player score: 17
  • Position: #44 / 207
  • Number of attempts: 1
Simple text editing with Vim - 11657 entries

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

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

entered into 14 challenges

contributed 0 challenges