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 - 33722 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: 22
  • Position: #1491 / 7442
  • Number of attempts: 11
One number per line - 18755 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 14
  • Position: #460 / 3870
  • Number of attempts: 8
Swap values inside brackets - 2511 entries

Easy challenge.

  • Best score: 13
  • Best player score: 15
  • Position: #157 / 583
  • Number of attempts: 5
Applying same text modification in several lines - 2893 entries

Remove identical text at the beginning of several lines and the closing parenthesis.

  • Best score: 12
  • Best player score: 13
  • Position: #39 / 856
  • Number of attempts: 7
Com(m)a Trouble - 3875 entries

Someone was real stupid when placing his commas. Can you fix it?

  • Best score: 12
  • Best player score: 13
  • Position: #207 / 876
  • Number of attempts: 7
comments galore - 1048 entries

Basic comment reformatting

  • Best score: 10
  • Best player score: 10
  • Position: #257 / 425
  • Number of attempts: 1
convert yml into java pojo field - 857 entries

How fast vim can create fields for java pojo i.e class declaration referring to a (simple) yml file

  • Best score: 29
  • Best player score: 29
  • Position: #39 / 227
  • Number of attempts: 3
Don't know what this is - 2024 entries

Replace contents of brackets with matching number of spaces. Don't ask what the format's supposed to be.

  • Best score: 11
  • Best player score: 11
  • Position: #101 / 586
  • Number of attempts: 4
Whitespace, empty lines and tabs - 3742 entries

Convert tabs to spaces, strip empty lines and trailing whitespace.

  • Best score: 16
  • Best player score: 16
  • Position: #15 / 803
  • Number of attempts: 9
Chris Budetti
Twitter:

:)

entered into 9 challenges

contributed 0 challenges