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 text editing with Vim - 10708 entries

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

  • Best score: 13
  • Best player score: 35
  • Number of attempts: 1
Reverse Simple Deletion - 722 entries

You did the simple deletion, now reverse it.

  • Best score: 11
  • Best player score: 17
  • Number of attempts: 2
Switch function arguments - 1857 entries

How to switch two arguments of a function.

  • Best score: 11
  • Best player score: 14
  • Number of attempts: 3
Append semicolon after expressions - 881 entries

Some lines need the semicolon, some don't.

  • Best score: 11
  • Best player score: 16
  • Number of attempts: 2
replacing each line of a block selection - 2604 entries

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

  • Best score: 18
  • Best player score: 30
  • Number of attempts: 1
The meaning - 504 entries

Numbers are fun!

  • Best score: 5
  • Best player score: 5
  • Number of attempts: 1
Make it more readable - 1775 entries

Insert blank lines to make it more organized and readable

  • Best score: 13
  • Best player score: 18
  • Number of attempts: 1
Search and Replace 0 - 4226 entries

Replace every instance of 'aaa' with 'xaaax'.

  • Best score: 12
  • Best player score: 17
  • Number of attempts: 3
Remove noise from HTTP log - 620 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: 26
  • Number of attempts: 1
Reverse and double space - 411 entries

Reverse the order of the given lines and double space everything

  • Best score: 14
  • Best player score: 20
  • Number of attempts: 2
Shebangs for all - 1643 entries

We've all seen or used a shebang once or twice. Ditch the specific paths and leave just a dynamic Ruby and Python bath behind.

  • Best score: 11
  • Best player score: 26
  • Number of attempts: 1
Exchanging Quotes - 769 entries

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

  • Best score: 30
  • Best player score: 43
  • Number of attempts: 2
Numbering a List - 1754 entries

Pretty simple, number the list.

  • Best score: 13
  • Best player score: 28
  • Number of attempts: 1
Viswanath Sivakumar
Twitter:

entered into 13 challenges

contributed 0 challenges