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

Simple, Practical, and Common - 33778 entries

Simple things we do all the time should be able to be done with very few keystrokes, but sometimes I find something I need to do makes me go, "There MUST be a better way." This challenge is just a simple movement and entering text at a certain place.

  • Best score: 22
  • Best player score: 22
  • Position: #1366 / 7453
  • Number of attempts: 10
One number per line - 18797 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 17
  • Position: #1205 / 3879
  • Number of attempts: 5
I forgot quotes - 16061 entries

Oops.

  • Best score: 10
  • Best player score: 11
  • Position: #1158 / 4195
  • Number of attempts: 4
NATO phonetic alphabet - 538 entries

Transform the series of words into a list.

  • Best score: 19
  • Best player score: 21
  • Position: #64 / 197
  • Number of attempts: 1
Shuffle and Sort - 233 entries

The values where sorted incorrectly. Get them back to how they are supposed to be

  • Best score: 17
  • Best player score: 29
  • Position: #58 / 69
  • Number of attempts: 2
The Quick Brown Fox Jumps Over The Lazy Vim - 425 entries

Someone has vandalized this text file and replaced the beginning character of one word in each line with a Big "X." Please remove the big X's, and fix each line to read "The Quick Brown Fox Jumps Over The Lazy Dog."

  • Best score: 8
  • Best player score: 10
  • Position: #19 / 193
  • Number of attempts: 3
The name of the game - 678 entries

End up with the name of the game.

  • Best score: 11
  • Best player score: 12
  • Position: #291 / 363
  • Number of attempts: 1
SFD-ROC: vimvimvim - 1617 entries

Oh no, this line is longer than 80 chars... put each 'vim' on a new line.

  • Best score: 8
  • Best player score: 14
  • Position: #316 / 448
  • Number of attempts: 1
SFD-ROC: ROT13 Phonics - 101 entries

A is for apple, b is for ball, etc... This familiar phonics poem has been rotated 13 characters. Make the letter match the word.

  • Best score: 6
  • Best player score: 6
  • Position: #6 / 73
  • Number of attempts: 1
Vertical Limit - 2572 entries

transform a succession of one word lines to a an array of strings

  • Best score: 21
  • Best player score: 26
  • Position: #419 / 761
  • Number of attempts: 1
Switch function arguments - 2162 entries

How to switch two arguments of a function.

  • Best score: 11
  • Best player score: 12
  • Position: #228 / 669
  • Number of attempts: 3
Append semicolon after expressions - 1057 entries

Some lines need the semicolon, some don't.

  • Best score: 11
  • Best player score: 13
  • Position: #296 / 420
  • Number of attempts: 2
switch variable - 5085 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 12
  • Position: #732 / 1750
  • Number of attempts: 2
The meaning - 577 entries

Numbers are fun!

  • Best score: 5
  • Best player score: 5
  • Position: #143 / 364
  • Number of attempts: 2
Simple text editing with Vim - 13123 entries

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

  • Best score: 13
  • Best player score: 14
  • Position: #1007 / 3774
  • Number of attempts: 1
Joachim
Twitter:

Norwegian/US PhD student in speech at Edinburgh, Tonmeister, occasional theatre consultant and piano dabbler.

entered into 15 challenges

contributed 0 challenges