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

Reformat symbols in list - 172 entries

Saw this in some lecture, easy reformatting using multiple cursor in VS Code

  • Best score: 24
  • Best player score: 80
  • Position: #42 / 43
  • 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: #1663 / 4114
  • Number of attempts: 1
Mute the second method of this script - 439 entries

prepend a # infront of every line of the second method

  • Best score: 9
  • Best player score: 9
  • Position: #37 / 233
  • Number of attempts: 2
I forgot quotes - 15748 entries

Oops.

  • Best score: 10
  • Best player score: 17
  • Position: #2726 / 4116
  • Number of attempts: 1
A simple change - 401 entries

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

  • Best score: 12
  • Best player score: 24
  • Position: #170 / 177
  • Number of attempts: 1
Let's play some Ivmgolf - 1015 entries

Oops, I spelled that wrong.

  • Best score: 7
  • Best player score: 12
  • Position: #361 / 420
  • Number of attempts: 1
Exchanging Quotes - 791 entries

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

  • Best score: 30
  • Best player score: 56
  • Position: #214 / 218
  • Number of attempts: 2
Switch function arguments - 1982 entries

How to switch two arguments of a function.

  • Best score: 11
  • Best player score: 16
  • Position: #551 / 627
  • Number of attempts: 1
Append semicolon after expressions - 953 entries

Some lines need the semicolon, some don't.

  • Best score: 11
  • Best player score: 13
  • Position: #249 / 387
  • Number of attempts: 3
Reverse and double space - 448 entries

Reverse the order of the given lines and double space everything

  • Best score: 14
  • Best player score: 17
  • Position: #118 / 184
  • 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: 25
  • Position: #251 / 261
  • Number of attempts: 1
Remove semicolons after expressions - 568 entries

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

  • Best score: 6
  • Best player score: 8
  • Position: #134 / 241
  • Number of attempts: 4
switch variable - 4944 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 33
  • Position: #1690 / 1708
  • Number of attempts: 1
The meaning - 522 entries

Numbers are fun!

  • Best score: 5
  • Best player score: 5
  • Position: #104 / 337
  • Number of attempts: 3
Format the output - 102 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
  • Position: #32 / 34
  • Number of attempts: 1
Calculate the table totals - 116 entries

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

  • Best score: 33
  • Best player score: 162
  • Position: #38 / 40
  • Number of attempts: 1
Asenar
Twitter:

Je cause tranquillou avec ceux qui ne pensent pas comme moi. J'aime les gens qui doutent. Développeur #php #sf #git #vim #js

entered into 16 challenges

contributed 0 challenges