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 - 33353 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: #3304 / 7358
  • Number of attempts: 4
One number per line - 18613 entries

Just give me the numbers.

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

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

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

easy stuff

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

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

  • Best score: 12
  • Best player score: 22
  • Position: #627 / 821
  • Number of attempts: 4
Box it - 7818 entries

Create a box around a line.

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

abc trying to be cool or not...

  • Best score: 15
  • Best player score: 30
  • Position: #212 / 226
  • Number of attempts: 1
Two pairs of cluster of letters creates word - 735 entries

Clean and group.

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

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

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

Delete the instructions at the top and bottom.

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

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

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

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

entered into 11 challenges

contributed 0 challenges