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 - 825 entries

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

  • Best score: 5
  • Best player score: 5
  • Position: #72 / 430
  • Number of attempts: 1
replacing each line of a block selection - 3005 entries

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

  • Best score: 18
  • Best player score: 21
  • Position: #320 / 779
  • Number of attempts: 5
Shebangs for all - 2049 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: 13
  • Position: #188 / 523
  • Number of attempts: 7
Make Fancy Header - 1070 entries

Make the header text stand out with surrounding asterisks

  • Best score: 15
  • Best player score: 24
  • Position: #299 / 348
  • Number of attempts: 5
Change the content of a string - 1665 entries

This docstring is a complete lie. Fix it.

  • Best score: 22
  • Best player score: 23
  • Position: #271 / 615
  • Number of attempts: 4
Sort and add attributes - 1512 entries

Sort the states and add the attribute country to each record.

  • Best score: 33
  • Best player score: 34
  • Position: #332 / 585
  • Number of attempts: 2
Add fold markers to a .c file - 664 entries

Fold markers can make it easier to navigate source code. Add them to this .c file.

  • Best score: 30
  • Best player score: 30
  • Position: #9 / 191
  • Number of attempts: 5
Reconstruct the Sentence - 1651 entries

Get the sentence back in the proper order, remove duplicate lines, and then combine the separate lines into one.

  • Best score: 19
  • Best player score: 25
  • Position: #336 / 435
  • Number of attempts: 2
Braces or Brackets? - 1074 entries

Someone forgot whether to use braces or brackets and you have to clean up their code!

  • Best score: 34
  • Best player score: 48
  • Position: #202 / 332
  • Number of attempts: 2
Whitespace, empty lines and tabs - 3795 entries

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

  • Best score: 16
  • Best player score: 22
  • Position: #288 / 816
  • Number of attempts: 8
Flodder-challenge - 1375 entries

Replace the text the most efficient and win!

  • Best score: 27
  • Best player score: 51
  • Position: #321 / 353
  • Number of attempts: 1
Simple text editing with Vim - 13143 entries

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

  • Best score: 13
  • Best player score: 16
  • Position: #2209 / 3777
  • Number of attempts: 7
Reformat/Refactor a Golfer Class - 7259 entries

A simple case of removing unneeded code and fixing broken indentation.

  • Best score: 10
  • Best player score: 57
  • Position: #1575 / 1791
  • Number of attempts: 2
sjatkinson
Twitter:

Proud Code Monkey

entered into 13 challenges

contributed 0 challenges