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

Exchanging Quotes - 756 entries

Sometimes you need to exchange a choice of quotes in some code.

  • Best score: 30
  • Best player score: 56
  • Number of attempts: 2
Remove noise from HTTP log - 599 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: 25
  • Number of attempts: 1
Just the middle - 8968 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Number of attempts: 1
Format the output - 95 entries

Sometimes your standard out is a little hard to read. Take this multilevel hash and make it human readable.

  • Best score: 35
  • Best player score: 99
  • Number of attempts: 1
Remove semicolons after expressions - 441 entries

A follow-up for http://vimgolf.com/challenges/4fc9d767d3a0d4000100000e.

  • Best score: 6
  • Best player score: 8
  • Number of attempts: 4
The meaning - 495 entries

Numbers are fun!

  • Best score: 5
  • Best player score: 5
  • Number of attempts: 3
Append semicolon after expressions - 843 entries

Some lines need the semicolon, some don't.

  • Best score: 11
  • Best player score: 13
  • Number of attempts: 3
Switch function arguments - 1815 entries

How to switch two arguments of a function.

  • Best score: 11
  • Best player score: 16
  • Number of attempts: 1
Mute the second method of this script - 404 entries

prepend a # infront of every line of the second method

  • Best score: 9
  • Best player score: 9
  • Number of attempts: 2
Reverse and double space - 408 entries

Reverse the order of the given lines and double space everything

  • Best score: 14
  • Best player score: 17
  • Number of attempts: 2
Let's play some Ivmgolf - 890 entries

Oops, I spelled that wrong.

  • Best score: 7
  • Best player score: 12
  • Number of attempts: 1
I forgot quotes - 11342 entries

Oops.

  • Best score: 10
  • Best player score: 17
  • Number of attempts: 1
Calculate the table totals - 105 entries

Go ahead... commit the treachery of using vim as a spreadsheet.

  • Best score: 33
  • Best player score: 162
  • Number of attempts: 1
switch variable - 4243 entries

how fast can you switch two variable ?

  • Best score: 3
  • Best player score: 33
  • Number of attempts: 1
A simple change - 354 entries

Just change the numbers in the most efficient way ...

  • Best score: 12
  • Best player score: 24
  • Number of attempts: 1
Asenar
Twitter:

#php #js #git #vim #kohana / ecommerce #thelia #prestashop

entered into 15 challenges

contributed 0 challenges