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

Words in parens - 13029 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 14
  • Position: #180 / 3985
  • Number of attempts: 3
replacing each line of a block selection - 3040 entries

replace each line's ../assets/js with /javascripts

  • Best score: 18
  • Best player score: 18
  • Position: #24 / 785
  • Number of attempts: 4
Reverse and double space - 502 entries

Reverse the order of the given lines and double space everything

  • Best score: 14
  • Best player score: 14
  • Position: #10 / 200
  • Number of attempts: 2
Remove noise from HTTP log - 741 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: #82 / 279
  • Number of attempts: 2
switch variable - 5110 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 11
  • Position: #101 / 1758
  • Number of attempts: 3
The meaning - 580 entries

Numbers are fun!

  • Best score: 5
  • Best player score: 5
  • Position: #65 / 365
  • Number of attempts: 2
Make it more readable - 2028 entries

Insert blank lines to make it more organized and readable

  • Best score: 13
  • Best player score: 14
  • Position: #146 / 656
  • Number of attempts: 4
Generate English Alphabets - 510 entries

Start with a, get up to z.

  • Best score: 19
  • Best player score: 25
  • Position: #115 / 213
  • Number of attempts: 2
A Simple One - 1077 entries

Here is a very simple one - just to illustrate/introduce a vim feature that some people seem to miss...

  • Best score: 9
  • Best player score: 9
  • Position: #264 / 676
  • Number of attempts: 2
Simple text editing with Vim - 13521 entries

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

  • Best score: 13
  • Best player score: 14
  • Position: #1195 / 3877
  • Number of attempts: 2
kurban
Twitter:

entered into 10 challenges

contributed 0 challenges