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

Simple, Practical, and Common - 32953 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: 24
  • Position: #2905 / 7275
  • Number of attempts: 3
One number per line - 18395 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 20
  • Position: #2113 / 3793
  • Number of attempts: 3
Every other line - 2829 entries

AaAaAaA

  • Best score: 12
  • Best player score: 17
  • Position: #483 / 686
  • Number of attempts: 4
Just the middle - 11141 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #2555 / 4114
  • Number of attempts: 3
Team names - 1777 entries

The team names are misspelled.

  • Best score: 16
  • Best player score: 16
  • Position: #81 / 570
  • Number of attempts: 3
I forgot quotes - 15748 entries

Oops.

  • Best score: 10
  • Best player score: 14
  • Position: #1712 / 4116
  • Number of attempts: 2
A HAPPY NEW YEAR 2014 ! - 10538 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 11
  • Position: #1220 / 3638
  • Number of attempts: 3
Saving the hashes(#) - 1966 entries

The following file is copied from vimcasts.org(Its only for learning purpose,hope the site owner doesn't mind it), its probably the easiest of challenges.Our goal is to delete every line which doesn't contain a hash signs. The remaining hash signs with numbers are then sorted to get the final output.

  • Best score: 20
  • Best player score: 28
  • Position: #294 / 467
  • Number of attempts: 4
Let's play some Ivmgolf - 1015 entries

Oops, I spelled that wrong.

  • Best score: 7
  • Best player score: 7
  • Position: #113 / 420
  • Number of attempts: 4
Remember FizzBuzz? - 589 entries

Output FizzBuzz to 100. Start with nothing.

  • Best score: 39
  • Best player score: 57
  • Position: #71 / 166
  • Number of attempts: 4
John Addams
Twitter:

entered into 10 challenges

contributed 0 challenges