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 - 33988 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: 26
  • Position: #3504 / 7509
  • Number of attempts: 5
Split line with dots - 2174 entries

This line is too long, split it.

  • Best score: 15
  • Best player score: 19
  • Position: #316 / 638
  • Number of attempts: 6
That hyphen - 2624 entries

"vim vi improved"

  • Best score: 9
  • Best player score: 12
  • Position: #459 / 708
  • Number of attempts: 5
Just the middle - 11613 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 9
  • Position: #3333 / 4253
  • Number of attempts: 1
Order and join - 1030 entries

There's something special about the input order.

  • Best score: 10
  • Best player score: 13
  • Position: #191 / 264
  • Number of attempts: 3
Align commas - 1105 entries

There are 15,000 aligning challenges on vimgolf.com, and they're all exactly the same. I hope this one is a little different.

  • Best score: 11
  • Best player score: 19
  • Position: #197 / 248
  • Number of attempts: 3
-a-b-c- - 3240 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 16
  • Position: #852 / 1146
  • Number of attempts: 1
Count both ways - 1037 entries

Right AND down.

  • Best score: 13
  • Best player score: 16
  • Position: #221 / 359
  • Number of attempts: 3
A HAPPY NEW YEAR 2014 ! - 10752 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 17
  • Position: #3387 / 3713
  • Number of attempts: 1
attr_aligner - 3565 entries

Two attr keywords. Two separate indentations. Align the colons.

  • Best score: 19
  • Best player score: 41
  • Position: #638 / 709
  • Number of attempts: 1
Words in parens - 13034 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 16
  • Position: #2455 / 3988
  • Number of attempts: 3
Stairs Indenting - 483 entries

Indent each line with <line number> whitespaces.

  • Best score: 12
  • Best player score: 33
  • Position: #192 / 200
  • Number of attempts: 1
Daniel Allen Deutsch
Twitter:

web developer. afraid of nothing, intimidated by everything. burritos over tacos. terrible taste in music. has no chill.

entered into 12 challenges

contributed 0 challenges