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 - 4563 entries

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

  • Best score: 9
  • Best player score: 25
  • Position: #935 / 1113
  • Number of attempts: 4
Simple, Practical, and Common - 33757 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: #6665 / 7450
  • Number of attempts: 2
One number per line - 18780 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 20
  • Position: #2213 / 3877
  • Number of attempts: 5
V to the i - 4824 entries

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

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

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 16
  • Position: #2513 / 3076
  • Number of attempts: 1
Search and Replace 0 - 5007 entries

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

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

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Position: #1189 / 4215
  • Number of attempts: 6
Change part of a function name in multiple occurrences - 663 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: #82 / 209
  • Number of attempts: 5
Put the months in order - 978 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: #135 / 164
  • Number of attempts: 3
I forgot quotes - 16051 entries

Oops.

  • Best score: 10
  • Best player score: 40
  • Position: #4170 / 4194
  • Number of attempts: 1
A HAPPY NEW YEAR 2014 ! - 10699 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 20
  • Position: #3559 / 3695
  • 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