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

Pretty format for variable declarations - 128 entries

Project standards demand the equal signs must be aligned for better readability.

  • Best score: 14
  • Best player score: 19
  • Number of attempts: 5
I forgot quotes - 12685 entries

Oops.

  • Best score: 10
  • Best player score: 14
  • Number of attempts: 4
That hyphen - 2250 entries

"vim vi improved"

  • Best score: 9
  • Best player score: 12
  • Number of attempts: 4
V to the i - 4095 entries

Input is 99 V's. Output is 100 i's.

  • Best score: 7
  • Best player score: 7
  • Number of attempts: 2
One to Ten - 1249 entries

Generate the sequence of numbers from 1 to 10, one number per line. Inspired by this Reddit thread: https://redd.it/ak4it2

  • Best score: 12
  • Best player score: 12
  • Number of attempts: 6
A HAPPY NEW YEAR 2014 ! - 9706 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 12
  • Number of attempts: 3
Gray area - 653 entries

It's a golf metaphor or something.

  • Best score: 11
  • Best player score: 12
  • Number of attempts: 4
Lachlan Easton
Twitter:

entered into 7 challenges

contributed 0 challenges