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 - 34012 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: 23
  • Position: #2620 / 7513
  • Number of attempts: 5
One number per line - 18903 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 14
  • Position: #334 / 3904
  • Number of attempts: 7
Team names - 1861 entries

The team names are misspelled.

  • Best score: 16
  • Best player score: 16
  • Position: #28 / 596
  • Number of attempts: 5
Hello ${world} - 350 entries

Migrate a JavaScript String from concatenation to ES6 interpolation.

  • Best score: 24
  • Best player score: 24
  • Position: #19 / 104
  • Number of attempts: 9
I forgot quotes - 16237 entries

Oops.

  • Best score: 10
  • Best player score: 10
  • Position: #654 / 4224
  • Number of attempts: 8
Mess in revision history - 1233 entries

Help Joe clean up what Steve has cobbled.

  • Best score: 17
  • Best player score: 17
  • Position: #47 / 258
  • Number of attempts: 14
Refactor arguments into object argument - 181 entries

A relatively common Javascript refactoring.

  • Best score: 48
  • Best player score: 76
  • Position: #52 / 69
  • Number of attempts: 8
SFD-ROC: vimvimvim - 1642 entries

Oh no, this line is longer than 80 chars... put each 'vim' on a new line.

  • Best score: 8
  • Best player score: 8
  • Position: #92 / 457
  • Number of attempts: 8
replacing each line of a block selection - 3067 entries

replace each line's ../assets/js with /javascripts

  • Best score: 18
  • Best player score: 18
  • Position: #19 / 789
  • Number of attempts: 11
Reformat/Refactor a Golfer Class - 7681 entries

A simple case of removing unneeded code and fixing broken indentation.

  • Best score: 7
  • Best player score: 35
  • Position: #365 / 1889
  • Number of attempts: 4
Rubén Laguna
Twitter:

entered into 10 challenges

contributed 0 challenges