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

Wrap the text of an email message to 79 characters - 529 entries

You're replying to an email with silly long lines. Clean them up.

  • Best score: 5
  • Best player score: 6
  • Position: #260 / 338
  • Number of attempts: 1
Insert a Markdown link - 398 entries

Put a link in a markdown document, using the after-the-paragraph format.

  • Best score: 22
  • Best player score: 32
  • Position: #120 / 133
  • Number of attempts: 1
Reformat some Python - 548 entries

Fix some very bizarrely laid-out code.

  • Best score: 34
  • Best player score: 39
  • Position: #71 / 218
  • Number of attempts: 1
Reverse characters in a line - 615 entries

You have everything you need, just not in the right order. Mastermind would give you 26 white pegs.

  • Best score: 12
  • Best player score: 15
  • Position: #88 / 226
  • Number of attempts: 2
PEP8 Python Wrapping Comments and Code - 160 entries

According to PEP8, long flowy text and code should have different max line lengths. Code: 79 characters max Long flowy text: 72 characters max

  • Best score: 23
  • Best player score: 44
  • Position: #53 / 59
  • Number of attempts: 1
Change the content of a string - 1286 entries

This docstring is a complete lie. Fix it.

  • Best score: 22
  • Best player score: 23
  • Position: #193 / 498
  • Number of attempts: 3
Whitespace, empty lines and tabs - 2788 entries

Convert tabs to spaces, strip empty lines and trailing whitespace.

  • Best score: 16
  • Best player score: 35
  • Position: #546 / 636
  • Number of attempts: 2
Simple text editing with Vim - 11391 entries

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

  • Best score: 13
  • Best player score: 14
  • Position: #663 / 3347
  • Number of attempts: 2
foo bar
Twitter:

entered into 8 challenges

contributed 0 challenges