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 - 33787 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: #3342 / 7454
  • Number of attempts: 4
One number per line - 18798 entries

Just give me the numbers.

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

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

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

easy stuff

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

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

  • Best score: 12
  • Best player score: 22
  • Position: #677 / 886
  • Number of attempts: 4
Box it - 7954 entries

Create a box around a line.

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

abc trying to be cool or not...

  • Best score: 15
  • Best player score: 30
  • Position: #218 / 232
  • Number of attempts: 1
Two pairs of cluster of letters creates word - 751 entries

Clean and group.

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

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

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

Delete the instructions at the top and bottom.

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

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

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

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

entered into 11 challenges

contributed 0 challenges