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

Simple, Practical, and Common - 33724 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
  • Position: #4646 / 7442
  • Number of attempts: 3
Swap values - 4643 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 16
  • Position: #1033 / 1274
  • Number of attempts: 2
Split line with dots - 2154 entries

This line is too long, split it.

  • Best score: 15
  • Best player score: 20
  • Position: #381 / 635
  • Number of attempts: 1
Every other line - 2915 entries

AaAaAaA

  • Best score: 12
  • Best player score: 19
  • Position: #586 / 704
  • Number of attempts: 1
Just the middle - 11484 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #2255 / 4209
  • Number of attempts: 1
Fun With The Diagonal - 107 entries

change the lowercase characters on the main diagonal to uppercase

  • Best score: 11
  • Best player score: 11
  • Position: #41 / 81
  • Number of attempts: 1
Vice versa - 7945 entries

Little role switching.

  • Best score: 12
  • Best player score: 20
  • Position: #1867 / 2138
  • Number of attempts: 1
Restore order to the alphabet - 201 entries

The numbers are OK. The letters are wonky.

  • Best score: 12
  • Best player score: 26
  • Position: #60 / 72
  • Number of attempts: 1
Swap assigned value - 655 entries

Simple problem but looking for interesting solutions.

  • Best score: 10
  • Best player score: 11
  • Position: #178 / 256
  • Number of attempts: 1
VimGolfNight - 568 entries

Based on "The name of the game".

  • Best score: 12
  • Best player score: 12
  • Position: #242 / 349
  • Number of attempts: 1
Words in parens - 12967 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 19
  • Position: #3110 / 3969
  • Number of attempts: 1
The name of the game - 671 entries

End up with the name of the game.

  • Best score: 11
  • Best player score: 11
  • Position: #216 / 362
  • Number of attempts: 2
Remove noise from HTTP log - 717 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
  • Position: #106 / 273
  • Number of attempts: 2
Simple text editing with Vim - 12996 entries

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

  • Best score: 13
  • Best player score: 19
  • Position: #2749 / 3739
  • Number of attempts: 1
Daniel Teal
Twitter:

entered into 14 challenges

contributed 0 challenges