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

Just the middle - 10337 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Number of attempts: 1
Split line with dots - 2007 entries

This line is too long, split it.

  • Best score: 15
  • Best player score: 18
  • Number of attempts: 1
Words in parens - 11996 entries

We should all ace this, right?

  • Best score: 14
  • Best player score: 16
  • Number of attempts: 1
Simple, Practical, and Common - 29828 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: 23
  • Number of attempts: 3
Vice versa - 6859 entries

Little role switching.

  • Best score: 12
  • Best player score: 13
  • Number of attempts: 2
I forgot quotes - 14294 entries

Oops.

  • Best score: 10
  • Best player score: 12
  • Number of attempts: 2
One number per line - 16280 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 19
  • Number of attempts: 4
A HAPPY NEW YEAR 2014 ! - 10083 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 11
  • Number of attempts: 2
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: 45
  • Number of attempts: 2
Basic renumbering - 5088 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 18
  • Number of attempts: 1
Combines all items - 250 entries

For each line that starts with the same number I want to combine its contents

  • Best score: 9
  • Best player score: 10
  • Number of attempts: 1
Avimgolfer
Twitter:

entered into 11 challenges

contributed 0 challenges