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

Every other line - 2712 entries

AaAaAaA

  • Best score: 12
  • Best player score: 19
  • Number of attempts: 1
Split line with dots - 2049 entries

This line is too long, split it.

  • Best score: 15
  • Best player score: 20
  • Number of attempts: 1
Fun With The Diagonal - 91 entries

change the lowercase characters on the main diagonal to uppercase

  • Best score: 11
  • Best player score: 11
  • Number of attempts: 1
Swap values - 4313 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 16
  • Number of attempts: 2
Vice versa - 7215 entries

Little role switching.

  • Best score: 12
  • Best player score: 20
  • Number of attempts: 1
Simple, Practical, and Common - 32022 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: 29
  • Number of attempts: 3
Restore order to the alphabet - 161 entries

The numbers are OK. The letters are wonky.

  • Best score: 12
  • Best player score: 26
  • Number of attempts: 1
Just the middle - 10897 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Number of attempts: 1
VimGolfNight - 478 entries

Based on "The name of the game".

  • Best score: 12
  • Best player score: 12
  • Number of attempts: 1
Words in parens - 12448 entries

We should all ace this, right?

  • Best score: 14
  • Best player score: 19
  • Number of attempts: 1
Swap assigned value - 525 entries

Simple problem but looking for interesting solutions.

  • Best score: 10
  • Best player score: 11
  • Number of attempts: 1
The name of the game - 597 entries

End up with the name of the game.

  • Best score: 11
  • Best player score: 11
  • Number of attempts: 2
Remove noise from HTTP log - 631 entries

This piece of log (from the year 2000) contains some irrelevant data. We only want to see the HTTP method and resource.

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

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

  • Best score: 13
  • Best player score: 19
  • Number of attempts: 1
Daniel Teal
Twitter:

entered into 14 challenges

contributed 0 challenges