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 - 33988 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: #4671 / 7509
  • Number of attempts: 3
Swap values - 4703 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 16
  • Position: #1041 / 1291
  • Number of attempts: 2
Split line with dots - 2174 entries

This line is too long, split it.

  • Best score: 15
  • Best player score: 20
  • Position: #382 / 638
  • Number of attempts: 1
Every other line - 2945 entries

AaAaAaA

  • Best score: 12
  • Best player score: 19
  • Position: #590 / 710
  • Number of attempts: 1
Just the middle - 11613 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #2267 / 4253
  • Number of attempts: 1
Fun With The Diagonal - 111 entries

change the lowercase characters on the main diagonal to uppercase

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

Little role switching.

  • Best score: 12
  • Best player score: 20
  • Position: #1880 / 2153
  • Number of attempts: 1
Restore order to the alphabet - 209 entries

The numbers are OK. The letters are wonky.

  • Best score: 12
  • Best player score: 26
  • Position: #61 / 73
  • Number of attempts: 1
Swap assigned value - 681 entries

Simple problem but looking for interesting solutions.

  • Best score: 10
  • Best player score: 11
  • Position: #180 / 262
  • Number of attempts: 1
VimGolfNight - 583 entries

Based on "The name of the game".

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

We should all ace this, right?

  • Best score: 13
  • Best player score: 19
  • Position: #3123 / 3988
  • Number of attempts: 1
The name of the game - 682 entries

End up with the name of the game.

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

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

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

entered into 14 challenges

contributed 0 challenges