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

JS notation to Immutable.js notation - 143 entries

Now Immutable.js made its way into many frontends. This challenge consists of a typical refactoring that many of us are facing now.

  • Best score: 35
  • Best player score: 43
  • Number of attempts: 2
SFD-ROC: The Quick Brown Fox - 143 entries

Someone has vandalized our text (again). Please fix to read: The Quick Brown Fox Jumps Over The Lazy Dog.

  • Best score: 25
  • Best player score: 28
  • Number of attempts: 2
Scrambled numbers - 753 entries

Four is NOT 1. One is 1.

  • Best score: 18
  • Best player score: 27
  • Number of attempts: 2
Vice versa - 6646 entries

Little role switching.

  • Best score: 12
  • Best player score: 13
  • Number of attempts: 3
The Quick Brown Fox Jumps Over The Lazy Vim - 333 entries

Someone has vandalized this text file and replaced the beginning character of one word in each line with a Big "X." Please remove the big X's, and fix each line to read "The Quick Brown Fox Jumps Over The Lazy Dog."

  • Best score: 10
  • Best player score: 11
  • Number of attempts: 1
comments galore - 913 entries

Basic comment reformatting

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 1
That hyphen - 2312 entries

"vim vi improved"

  • Best score: 9
  • Best player score: 11
  • Number of attempts: 3
ASCII Art - 77 entries

how good are you with simple regex?

  • Best score: 10
  • Best player score: 15
  • Number of attempts: 1
Assign numbers to fields - 86 entries

You are given a list of space-separated strings. Add an increasing numeric prefix to each one.

  • Best score: 19
  • Best player score: 20
  • Number of attempts: 2
Split line with dots - 1981 entries

This line is too long, split it.

  • Best score: 15
  • Best player score: 21
  • Number of attempts: 1
learn vim in short time - 189 entries

so happy to learn vim.because vim is awesome

  • Best score: 8
  • Best player score: 8
  • Number of attempts: 1
Collect List - 3779 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 17
  • Number of attempts: 1
Simple, Practical, and Common - 28782 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: 27
  • Number of attempts: 1
Roland Hougs
Twitter:

Lead Tools Programmer at TT Games. All views expressed are my own.

entered into 13 challenges

contributed 0 challenges