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

Recursively Palindrome - 220 entries

Note that there are 2^6-1 characters.

  • Best score: 21
  • Best player score: 67
  • Number of attempts: 1
Simple, Practical, and Common - 24805 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: 22
  • Number of attempts: 9
Whitespace, empty lines and tabs - 2541 entries

Convert tabs to spaces, strip empty lines and trailing whitespace.

  • Best score: 16
  • Best player score: 19
  • Number of attempts: 12
One number per line - 12650 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 14
  • Number of attempts: 6
Reformat/Refactor a Golfer Class - 5482 entries

A simple case of removing unneeded code and fixing broken indentation.

  • Best score: 32
  • Best player score: 36
  • Number of attempts: 5
A HAPPY NEW YEAR 2014 ! - 9473 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 11
  • Number of attempts: 5
Words in parens - 11002 entries

We should all ace this, right?

  • Best score: 14
  • Best player score: 14
  • Number of attempts: 7
Just the middle - 9164 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Number of attempts: 4
V to the i - 3899 entries

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

  • Best score: 7
  • Best player score: 7
  • Number of attempts: 5
Wrap the text of an email message to 79 characters - 486 entries

You're replying to an email with silly long lines. Clean them up.

  • Best score: 5
  • Best player score: 5
  • Number of attempts: 2
Simple text editing with Vim - 10385 entries

Make the pairs of lines match up by making each second line same as first

  • Best score: 13
  • Best player score: 13
  • Number of attempts: 8
I forgot quotes - 11698 entries

Oops.

  • Best score: 10
  • Best player score: 12
  • Number of attempts: 7
Search and Replace 0 - 4091 entries

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

  • Best score: 12
  • Best player score: 12
  • Number of attempts: 4
Sort and add attributes - 1082 entries

Sort the states and add the attribute country to each record.

  • Best score: 33
  • Best player score: 34
  • Number of attempts: 8
Every other line - 2091 entries

AaAaAaA

  • Best score: 12
  • Best player score: 12
  • Number of attempts: 10
Multiplication table. - 171 entries

Create a multiplication table.

  • Best score: 31
  • Best player score: 395
  • Number of attempts: 1
Alphabetize the directory - 252 entries

Put the contacts and their information in alphabetical order.

  • Best score: 30
  • Best player score: 39
  • Number of attempts: 2
Numbering a List - 1727 entries

Pretty simple, number the list.

  • Best score: 13
  • Best player score: 21
  • Number of attempts: 3
Line Zipper - 396 entries

Zip/pair related lines.

  • Best score: 12
  • Best player score: 13
  • Number of attempts: 4
Sort the cardinal numbers - 215 entries

Maybe a simple challenge.

  • Best score: 12
  • Best player score: 14
  • Number of attempts: 1
Ben Sherman
Twitter:

computers professional formerly @twitter and @axon_us now @github ask me about updog

entered into 20 challenges

contributed 0 challenges