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

Shebangs for all - 1669 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
Numbering a List - 1764 entries

Pretty simple, number the list.

  • Best score: 13
  • Best player score: 28
  • Number of attempts: 1
Append semicolon after expressions - 898 entries

Some lines need the semicolon, some don't.

  • Best score: 11
  • Best player score: 16
  • Number of attempts: 2
Switch function arguments - 1888 entries

How to switch two arguments of a function.

  • Best score: 11
  • Best player score: 14
  • Number of attempts: 3
Reverse Simple Deletion - 736 entries

You did the simple deletion, now reverse it.

  • Best score: 11
  • Best player score: 17
  • Number of attempts: 2
Reverse and double space - 423 entries

Reverse the order of the given lines and double space everything

  • Best score: 14
  • Best player score: 20
  • Number of attempts: 2
Remove noise from HTTP log - 624 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
The meaning - 509 entries

Numbers are fun!

  • Best score: 5
  • Best player score: 5
  • Number of attempts: 1
replacing each line of a block selection - 2694 entries

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

  • Best score: 18
  • Best player score: 30
  • Number of attempts: 1
Exchanging Quotes - 777 entries

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

  • Best score: 30
  • Best player score: 43
  • Number of attempts: 2
Search and Replace 0 - 4444 entries

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

  • Best score: 12
  • Best player score: 17
  • Number of attempts: 3
Make it more readable - 1812 entries

Insert blank lines to make it more organized and readable

  • Best score: 13
  • Best player score: 18
  • Number of attempts: 1
Simple text editing with Vim - 11056 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
Viswanath Sivakumar
Twitter:

entered into 13 challenges

contributed 0 challenges