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

Prime Numbers - 261 entries

List the first 100 prime numbers.

  • Best score: 34
  • Best player score: 49
  • Number of attempts: 6
Swap the operands under comparison - 175 entries

Swap the operands under comparison to prevent null pointer exception (at least in java)

  • Best score: 7
  • Best player score: 19
  • Number of attempts: 1
readability - 279 entries

Make the code readable by adding some spaces

  • Best score: 18
  • Best player score: 18
  • Number of attempts: 5
Just the middle - 8609 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 14
  • Number of attempts: 1
Pratik
Twitter:

entered into 4 challenges

contributed 0 challenges