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

Just give me the numbers.

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

Easy challenge.

  • Best score: 10
  • Best player score: 15
  • Position: #160 / 595
  • Number of attempts: 5
Applying same text modification in several lines - 2937 entries

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

  • Best score: 7
  • Best player score: 13
  • Position: #43 / 869
  • Number of attempts: 7
Com(m)a Trouble - 3992 entries

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

  • Best score: 7
  • Best player score: 13
  • Position: #215 / 910
  • Number of attempts: 7
comments galore - 1101 entries

Basic comment reformatting

  • Best score: 10
  • Best player score: 10
  • Position: #257 / 433
  • Number of attempts: 1
convert yml into java pojo field - 879 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 / 233
  • Number of attempts: 3
Don't know what this is - 2070 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 / 596
  • Number of attempts: 4
Whitespace, empty lines and tabs - 4083 entries

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

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

:)

entered into 9 challenges

contributed 0 challenges