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. - 340 entries

Simple challenge for frequent action while programming.

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

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

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

Just give me the numbers.

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

List the first 100 prime numbers.

  • Best score: 34
  • Best player score: 52
  • Position: #63 / 107
  • Number of attempts: 1
Separate the lines - 191 entries

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

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

Oops.

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

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

  • Best score: 21
  • Best player score: 29
  • Position: #653 / 762
  • Number of attempts: 1
Reformat/Refactor a Golfer Class - 7309 entries

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

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

entered into 8 challenges

contributed 0 challenges