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 - 32953 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: #4546 / 7275
  • Number of attempts: 3
Swap values - 4440 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 16
  • Position: #1002 / 1241
  • Number of attempts: 2
Split line with dots - 2103 entries

This line is too long, split it.

  • Best score: 15
  • Best player score: 20
  • Position: #377 / 623
  • Number of attempts: 1
Every other line - 2829 entries

AaAaAaA

  • Best score: 12
  • Best player score: 19
  • Position: #571 / 686
  • Number of attempts: 1
Just the middle - 11141 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #2225 / 4114
  • Number of attempts: 1
Fun With The Diagonal - 97 entries

change the lowercase characters on the main diagonal to uppercase

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

Little role switching.

  • Best score: 12
  • Best player score: 20
  • Position: #1796 / 2048
  • Number of attempts: 1
Restore order to the alphabet - 182 entries

The numbers are OK. The letters are wonky.

  • Best score: 12
  • Best player score: 26
  • Position: #55 / 65
  • Number of attempts: 1
Swap assigned value - 561 entries

Simple problem but looking for interesting solutions.

  • Best score: 10
  • Best player score: 11
  • Position: #166 / 236
  • Number of attempts: 1
VimGolfNight - 497 entries

Based on "The name of the game".

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

We should all ace this, right?

  • Best score: 13
  • Best player score: 19
  • Position: #3068 / 3919
  • Number of attempts: 1
The name of the game - 629 entries

End up with the name of the game.

  • Best score: 11
  • Best player score: 11
  • Position: #216 / 344
  • Number of attempts: 2
Remove noise from HTTP log - 663 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 / 261
  • Number of attempts: 2
Simple text editing with Vim - 11657 entries

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

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

entered into 14 challenges

contributed 0 challenges