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

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

  • Best score: 5
  • Best player score: 5
  • Position: #325 / 420
  • Number of attempts: 8
Sort and add attributes - 1476 entries

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

  • Best score: 33
  • Best player score: 33
  • Position: #299 / 574
  • Number of attempts: 2
Add fold markers to a .c file - 660 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: #47 / 189
  • Number of attempts: 18
Reconstruct the Sentence - 1580 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: 19
  • Position: #3 / 424
  • Number of attempts: 17
Braces or Brackets? - 1054 entries

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

  • Best score: 34
  • Best player score: 34
  • Position: #44 / 324
  • Number of attempts: 9
Whitespace, empty lines and tabs - 3741 entries

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

  • Best score: 16
  • Best player score: 35
  • Position: #694 / 802
  • Number of attempts: 2
Flodder-challenge - 1323 entries

Replace the text the most efficient and win!

  • Best score: 27
  • Best player score: 27
  • Position: #38 / 344
  • Number of attempts: 19
Peagol
Github:

entered into 7 challenges

contributed 0 challenges