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

Rural Post - 4593 entries

Simple challenge to remove all but the post code on each line

  • Best score: 9
  • Best player score: 25
  • Position: #941 / 1120
  • Number of attempts: 4
Simple, Practical, and Common - 33964 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: 35
  • Position: #6700 / 7500
  • Number of attempts: 2
One number per line - 18889 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 20
  • Position: #2223 / 3898
  • Number of attempts: 5
V to the i - 4853 entries

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

  • Best score: 7
  • Best player score: 7
  • Position: #621 / 1909
  • Number of attempts: 4
Add semicolons - 10932 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 16
  • Position: #2525 / 3091
  • Number of attempts: 1
Search and Replace 0 - 5102 entries

Replace every instance of 'aaa' with 'xaaax'.

  • Best score: 12
  • Best player score: 12
  • Position: #551 / 1662
  • Number of attempts: 5
Just the middle - 11572 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Position: #1189 / 4240
  • Number of attempts: 6
Change part of a function name in multiple occurrences - 680 entries

Change the middle part of the function name in multiple places, preferably using the next and dot commands.

  • Best score: 14
  • Best player score: 15
  • Position: #84 / 212
  • Number of attempts: 5
Put the months in order - 998 entries

Our contractor thought that months should be in alphabetical order. Put them in calendar order please.

  • Best score: 20
  • Best player score: 53
  • Position: #136 / 166
  • Number of attempts: 3
I forgot quotes - 16176 entries

Oops.

  • Best score: 10
  • Best player score: 40
  • Position: #4191 / 4216
  • Number of attempts: 1
A HAPPY NEW YEAR 2014 ! - 10748 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 20
  • Position: #3572 / 3711
  • Number of attempts: 1
Lorenzo Swank
Twitter:

Entrepreneur in Residence @ Ignite Innovators, a life sciences fund. Fmr apprentice to the District Nagus. I don’t agree with my own tweets. Likes are bookmarks

entered into 11 challenges

contributed 0 challenges