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

replacing each line of a block selection - 2800 entries

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

  • Best score: 18
  • Best player score: 32
  • Position: #657 / 735
  • Number of attempts: 1
Switch function arguments - 1982 entries

How to switch two arguments of a function.

  • Best score: 11
  • Best player score: 14
  • Position: #414 / 627
  • Number of attempts: 2
Append semicolon after expressions - 953 entries

Some lines need the semicolon, some don't.

  • Best score: 11
  • Best player score: 22
  • Position: #383 / 387
  • Number of attempts: 1
switch variable - 4937 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 15
  • Position: #1442 / 1707
  • Number of attempts: 3
The meaning - 522 entries

Numbers are fun!

  • Best score: 5
  • Best player score: 5
  • Position: #114 / 337
  • Number of attempts: 1
Simple text editing with Vim - 11652 entries

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

  • Best score: 13
  • Best player score: 31
  • Position: #3168 / 3417
  • Number of attempts: 2
Marco
Twitter:

Photographer.Gamer

entered into 6 challenges

contributed 0 challenges