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 - 33621 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: 25
  • Position: #3326 / 7422
  • Number of attempts: 4
One number per line - 18732 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 14
  • Position: #492 / 3865
  • Number of attempts: 13
V to the i - 4806 entries

Input is 99 V's. Output is 100 i's.

  • Best score: 7
  • Best player score: 7
  • Position: #639 / 1894
  • Number of attempts: 6
remove lines containing the word "reader" - 3590 entries

easy stuff

  • Best score: 9
  • Best player score: 9
  • Position: #156 / 1163
  • Number of attempts: 5
Com(m)a Trouble - 3829 entries

Someone was real stupid when placing his commas. Can you fix it?

  • Best score: 12
  • Best player score: 22
  • Position: #661 / 866
  • Number of attempts: 4
Box it - 7906 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 21
  • Position: #43 / 1877
  • Number of attempts: 12
Cool or not? - 829 entries

abc trying to be cool or not...

  • Best score: 15
  • Best player score: 30
  • Position: #216 / 230
  • Number of attempts: 1
Two pairs of cluster of letters creates word - 749 entries

Clean and group.

  • Best score: 17
  • Best player score: 119
  • Position: #178 / 178
  • Number of attempts: 1
Search and Replace 0 - 4990 entries

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

  • Best score: 12
  • Best player score: 12
  • Position: #567 / 1625
  • Number of attempts: 5
Just the middle - 11458 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Position: #1216 / 4199
  • Number of attempts: 4
Line under headers - 2045 entries

Put a line under each header, and remove the other markdown formatting.

  • Best score: 24
  • Best player score: 36
  • Position: #387 / 504
  • Number of attempts: 7
David Accomazzo
Twitter:

Eternally curious. Web developer/project manager. Recovering music journalist.

entered into 11 challenges

contributed 0 challenges