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

Array transposition - 1803 entries

Transpose two arrays into one.

  • Best score: 16
  • Best player score: 56
  • Number of attempts: 3
Swap values - 3944 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 11
  • Number of attempts: 6
attr_aligner - 3130 entries

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

  • Best score: 19
  • Best player score: 32
  • Number of attempts: 5
V to the i - 4218 entries

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

  • Best score: 7
  • Best player score: 7
  • Number of attempts: 6
A HAPPY NEW YEAR 2014 ! - 9880 entries

A HAPPY NEW YEAR 2014 !

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

We should all ace this, right?

  • Best score: 14
  • Best player score: 15
  • Number of attempts: 9
Just the middle - 9942 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Number of attempts: 3
I forgot quotes - 13419 entries

Oops.

  • Best score: 10
  • Best player score: 14
  • Number of attempts: 5
One number per line - 15129 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 19
  • Number of attempts: 5
Simple, Practical, and Common - 28176 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: 16
Box it - 5100 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 36
  • Number of attempts: 2
Herman Stavelin
Twitter:

entered into 11 challenges

contributed 0 challenges