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 - 33866 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: #4659 / 7474
  • Number of attempts: 3
Swap values - 4661 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 16
  • Position: #1036 / 1282
  • Number of attempts: 2
Split line with dots - 2156 entries

This line is too long, split it.

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

AaAaAaA

  • Best score: 12
  • Best player score: 19
  • Position: #587 / 707
  • Number of attempts: 1
Just the middle - 11541 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #2261 / 4230
  • 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 - 7974 entries

Little role switching.

  • Best score: 12
  • Best player score: 20
  • Position: #1875 / 2146
  • 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 - 671 entries

Simple problem but looking for interesting solutions.

  • Best score: 10
  • Best player score: 11
  • Position: #179 / 259
  • Number of attempts: 1
VimGolfNight - 575 entries

Based on "The name of the game".

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

We should all ace this, right?

  • Best score: 13
  • Best player score: 19
  • Position: #3115 / 3977
  • Number of attempts: 1
The name of the game - 678 entries

End up with the name of the game.

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

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

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

entered into 14 challenges

contributed 0 challenges