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: #385 / 7520
  • Number of attempts: 5
Swap values - 4704 entries

Well, swap the values...

  • Best score: 6
  • Best player score: 11
  • Position: #29 / 1294
  • Number of attempts: 6
comments galore - 1101 entries

Basic comment reformatting

  • Best score: 10
  • Best player score: 11
  • Position: #349 / 433
  • Number of attempts: 2
Mirrored text - 211 entries

backward and forward, and long enough to be challenging

  • Best score: 14
  • Best player score: 14
  • Position: #6 / 76
  • Number of attempts: 2
Inner hyphens - 155 entries

Yet another hyphen challenge. Adding 5 hyphens to a file shouldn't be too hard.

  • Best score: 11
  • Best player score: 12
  • Position: #44 / 90
  • Number of attempts: 1
Scrambled numbers - 830 entries

Four is NOT 1. One is 1.

  • Best score: 18
  • Best player score: 27
  • Position: #131 / 187
  • Number of attempts: 2
Fix the XML - 1052 entries

The challenge consists in having a valid xml from an incomplete source.

  • Best score: 18
  • Best player score: 24
  • Position: #139 / 292
  • Number of attempts: 3
A HAPPY NEW YEAR 2014 ! - 10757 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 11
  • Position: #929 / 3717
  • Number of attempts: 2
attr_aligner - 3569 entries

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

  • Best score: 7
  • Best player score: 34
  • Position: #580 / 712
  • Number of attempts: 1
Filippos K.
Twitter:

entered into 9 challenges

contributed 0 challenges