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

Making 3 line function a one liner. - 347 entries

Simple challenge for frequent action while programming.

  • Best score: 4
  • Best player score: 4
  • Position: #32 / 214
  • Number of attempts: 1
prepend * to every non-blank line - 6397 entries

Prepend an asterisk to every non-blank line in the input file.

  • Best score: 10
  • Best player score: 10
  • Position: #405 / 1563
  • Number of attempts: 1
One number per line - 18903 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 14
  • Position: #732 / 3904
  • Number of attempts: 3
Prime Numbers - 401 entries

List the first 100 prime numbers.

  • Best score: 34
  • Best player score: 52
  • Position: #64 / 109
  • Number of attempts: 1
Separate the lines - 202 entries

Every other line is mixed up. Separate them into their original texts.

  • Best score: 11
  • Best player score: 11
  • Position: #53 / 98
  • Number of attempts: 2
I forgot quotes - 16239 entries

Oops.

  • Best score: 10
  • Best player score: 10
  • Position: #1115 / 4225
  • Number of attempts: 1
Vertical Limit - 2637 entries

transform a succession of one word lines to a an array of strings

  • Best score: 21
  • Best player score: 29
  • Position: #664 / 778
  • Number of attempts: 1
Reformat/Refactor a Golfer Class - 7694 entries

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

  • Best score: 7
  • Best player score: 73
  • Position: #1804 / 1893
  • Number of attempts: 1
sean choi
Twitter:

entered into 8 challenges

contributed 0 challenges