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 - 32910 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: #828 / 7271
  • Number of attempts: 4
Search and Replace 0 - 4654 entries

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

  • Best score: 12
  • Best player score: 13
  • Position: #757 / 1542
  • Number of attempts: 3
Across-Down Flip - 45 entries

Do this instead of the Sunday crossword.

  • Best score: 23
  • Best player score: 24
  • Position: #4 / 23
  • Number of attempts: 5
Fiddle percentages into real numbers - 795 entries

Get rid of the '%' symbols and shift the decimal place. This is the easier version - all the columns line up.

  • Best score: 13
  • Best player score: 13
  • Position: #24 / 271
  • Number of attempts: 2
Fun With The Diagonal - 97 entries

change the lowercase characters on the main diagonal to uppercase

  • Best score: 11
  • Best player score: 11
  • Position: #44 / 74
  • Number of attempts: 1
ASCII Art - 80 entries

how good are you with simple regex?

  • Best score: 10
  • Best player score: 14
  • Position: #35 / 50
  • Number of attempts: 2
Split the words - 353 entries

Add the spaces manually if you must, but if you use Vim's spell checking feature wisely, I think you'll save a LARGE number of strokes.

  • Best score: 18
  • Best player score: 41
  • Position: #87 / 106
  • Number of attempts: 1
A HAPPY NEW YEAR 2014 ! - 10533 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 12
  • Position: #1763 / 3637
  • Number of attempts: 1
Words in parens - 12736 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 16
  • Position: #2065 / 3919
  • Number of attempts: 1
Hole-in-one - 973 entries

Lets take this golf thing literally.. Drive off the tee into the hole, and of course you don't strike the ball completely clean.

  • Best score: 15
  • Best player score: 19
  • Position: #173 / 297
  • Number of attempts: 4
Enharmonic Equivalents - 54 entries

Transform # and b to digraphs

  • Best score: 18
  • Best player score: 19
  • Position: #24 / 33
  • Number of attempts: 2
switch variable - 4917 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 13
  • Position: #1113 / 1701
  • Number of attempts: 1
The Cake is a Lie - 1203 entries

Correct the capitalization of each word

  • Best score: 9
  • Best player score: 16
  • Position: #474 / 488
  • Number of attempts: 1
Andreas Hagesjö
Twitter:

Musician. MSc in computer science. Perfect combination.

entered into 13 challenges

contributed 0 challenges