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 - 32904 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: #3258 / 7270
  • Number of attempts: 4
One number per line - 18377 entries

Just give me the numbers.

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

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

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

easy stuff

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

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

  • Best score: 12
  • Best player score: 22
  • Position: #581 / 760
  • Number of attempts: 4
Box it - 7680 entries

Create a box around a line.

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

abc trying to be cool or not...

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

Clean and group.

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

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

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

Delete the instructions at the top and bottom.

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

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

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

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

entered into 11 challenges

contributed 0 challenges