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 - 22723 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: 2
  • Best player score: 24
  • Number of attempts: 7
Number Sort - 231 entries

sort the list of newline-separated numbers incrementally. Numbers are in the range 1 to 1000, with 500 missing

  • Best score: 9
  • Best player score: 9
  • Number of attempts: 1
Extract HTML option values from tag values - 73 entries

Generate HTML option values from the text in the option tag. If the text contains multiple words, replace the spaces with an underscore and convert all capital letters to small letters.

  • Best score: 34
  • Best player score: 38
  • Number of attempts: 1
I forgot quotes - 10854 entries

Oops.

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 3
One number per line - 11377 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 21
  • Number of attempts: 3
Simple text editing with Vim - 10129 entries

Make the pairs of lines match up by making each second line same as first

  • Best score: 13
  • Best player score: 26
  • Number of attempts: 2
Words in parens - 10641 entries

We should all ace this, right?

  • Best score: 14
  • Best player score: 20
  • Number of attempts: 2
chu zui
Twitter:

entered into 7 challenges

contributed 0 challenges