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 - 33353 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 / 7358
  • Number of attempts: 11
One number per line - 18613 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 17
  • Position: #1173 / 3841
  • Number of attempts: 6
Split line with dots - 2124 entries

This line is too long, split it.

  • Best score: 15
  • Best player score: 20
  • Position: #360 / 629
  • Number of attempts: 1
Just the middle - 11346 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Position: #644 / 4160
  • Number of attempts: 6
Align commas - 1049 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: #194 / 241
  • Number of attempts: 1
readability - 312 entries

Make the code readable by adding some spaces

  • Best score: 18
  • Best player score: 18
  • Position: #25 / 148
  • Number of attempts: 2
I forgot quotes - 15922 entries

Oops.

  • Best score: 10
  • Best player score: 15
  • Position: #2090 / 4159
  • Number of attempts: 5
A HAPPY NEW YEAR 2014 ! - 10616 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 15
  • Position: #3034 / 3663
  • Number of attempts: 1
attr_aligner - 3444 entries

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

  • Best score: 19
  • Best player score: 32
  • Position: #482 / 692
  • Number of attempts: 3
wlads
Twitter:

Software dev, teacher, student, into AI, ML, DL, CV. Views my own neural network.

entered into 9 challenges

contributed 0 challenges