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 - 34031 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: 29
  • Position: #5037 / 7520
  • Number of attempts: 2
One number per line - 18907 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 20
  • Position: #2333 / 3907
  • Number of attempts: 4
Just the middle - 11636 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #3243 / 4262
  • Number of attempts: 3
Vice versa - 8021 entries

Little role switching.

  • Best score: 12
  • Best player score: 16
  • Position: #1468 / 2158
  • Number of attempts: 3
Change attribute to getter - 182 entries

Wrap attributes with a getter method.

  • Best score: 24
  • Best player score: 25
  • Position: #50 / 67
  • Number of attempts: 6
Delete to the end of the current line - 901 entries

Delete to the end of the current line, but keep the character under the cursor.

  • Best score: 5
  • Best player score: 5
  • Position: #281 / 435
  • Number of attempts: 2
I forgot quotes - 16255 entries

Oops.

  • Best score: 10
  • Best player score: 18
  • Position: #3435 / 4229
  • Number of attempts: 1
Get rid of html tags - 466 entries

Want to read more about Vim's background? Then get rid of those html tags...

  • Best score: 12
  • Best player score: 17
  • Position: #149 / 263
  • Number of attempts: 1
Ryan Miller
Github:

entered into 8 challenges

contributed 0 challenges