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

Scrambled numbers - 743 entries

Four is NOT 1. One is 1.

  • Best score: 18
  • Best player score: 38
  • Number of attempts: 1
attr_aligner - 3072 entries

Two attr keywords. Two separate indentations. Align the colons.

  • Best score: 19
  • Best player score: 34
  • Number of attempts: 2
Reformat a C golf submission - 476 entries

Take this C golf submission (for the "tiny but standards-compliant Hello World program" category, naturally), and turn it into formatted C code.

  • Best score: 23
  • Best player score: 31
  • Number of attempts: 2
Simple, Practical, and Common - 26354 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: 14
  • Best player score: 25
  • Number of attempts: 4
Split line with dots - 1894 entries

This line is too long, split it.

  • Best score: 15
  • Best player score: 18
  • Number of attempts: 3
-a-b-c- - 2676 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 17
  • Number of attempts: 1
Search and Replace 0 - 4191 entries

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

  • Best score: 12
  • Best player score: 16
  • Number of attempts: 3
switch variable - 4393 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 13
  • Number of attempts: 3
V to the i - 4057 entries

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

  • Best score: 7
  • Best player score: 9
  • Number of attempts: 1
Words in parens - 11284 entries

We should all ace this, right?

  • Best score: 14
  • Best player score: 16
  • Number of attempts: 3
Just the middle - 9554 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Number of attempts: 1
Reformat/Refactor a Golfer Class - 5551 entries

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

  • Best score: 32
  • Best player score: 39
  • Number of attempts: 2
A HAPPY NEW YEAR 2014 ! - 9670 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 13
  • Number of attempts: 2
Simple addition - 234 entries

The right side of the equation is already there. We just need the left one now.

  • Best score: 12
  • Best player score: 15
  • Number of attempts: 1
I forgot quotes - 12493 entries

Oops.

  • Best score: 10
  • Best player score: 16
  • Number of attempts: 2
comments galore - 910 entries

Basic comment reformatting

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 3
Swap values - 3701 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 16
  • Number of attempts: 2
Henry Dang
Twitter:

entered into 17 challenges

contributed 0 challenges