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

List the first 100 prime numbers.

  • Best score: 34
  • Best player score: 374
  • Position: #100 / 107
  • Number of attempts: 1
Search and Replace 0 - 5027 entries

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

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

End up with the name of the game.

  • Best score: 11
  • Best player score: 12
  • Position: #287 / 363
  • Number of attempts: 1
Generate English Alphabets - 508 entries

Start with a, get up to z.

  • Best score: 19
  • Best player score: 25
  • Position: #85 / 211
  • Number of attempts: 2
The holy-grail may help - 389 entries

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

  • Best score: 16
  • Best player score: 23
  • Position: #196 / 215
  • Number of attempts: 1
Reverse and count - 486 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: #145 / 179
  • Number of attempts: 1
Letters are numbers - 167 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: #56 / 76
  • Number of attempts: 2
Reverse Simple Deletion - 862 entries

You did the simple deletion, now reverse it.

  • Best score: 11
  • Best player score: 12
  • Position: #90 / 463
  • Number of attempts: 2
Increment, increment, increment.... - 701 entries

Vim likes macros

  • Best score: 10
  • Best player score: 12
  • Position: #173 / 413
  • Number of attempts: 1
Sorting paragraphs - 552 entries

Order the paragraphs correctly, per prefixed index

  • Best score: 18
  • Best player score: 25
  • Position: #55 / 165
  • Number of attempts: 4
The Cake is a Lie - 1386 entries

Correct the capitalization of each word

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

Convert the first paragraph to be even less readable.

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

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

  • Best score: 12
  • Best player score: 17
  • Position: #60 / 245
  • Number of attempts: 1
Simple text editing with Vim - 13262 entries

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

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

entered into 14 challenges

contributed 0 challenges