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

Filling braces - 481 entries

Inspired by a question on CoDidact (https://software.codidact.com/posts/296501), I wondered if Vim could offer a satisfactory ‘solution’ to this problem.

  • Best score: 21
  • Best player score: 24
  • Position: #30 / 157
  • Number of attempts: 7
Sort and Tag - 738 entries

The goal is to sort these lines alphabetically, assign a unique identifier to each line in the format "[01]", "[02]", etc., and then restore the original order of the lines while preserving the assigned identifiers.

  • Best score: 36
  • Best player score: 125
  • Position: #116 / 157
  • Number of attempts: 1
Change class fields from snake case to camel case - 336 entries

Change the class fields in this Scala class from snake case to camel case

  • Best score: 13
  • Best player score: 13
  • Position: #57 / 127
  • Number of attempts: 3
Remove adjacent duplicates - 732 entries

Try to find a way to remove adjacent duplicate letters.

  • Best score: 19
  • Best player score: 82
  • Position: #183 / 187
  • Number of attempts: 1
Rearrange array to single level - 1832 entries

The goal is to flatten the array into a single list and remove any empty elements.

  • Best score: 14
  • Best player score: 56
  • Position: #278 / 308
  • Number of attempts: 2
Just the middle - 11636 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Position: #1515 / 4262
  • Number of attempts: 6
Missing Library and a Typo - 954 entries

I forgot to add a c library, please add it for me. Also I'm bad at typing so fix my typo too.

  • Best score: 14
  • Best player score: 15
  • Position: #31 / 223
  • Number of attempts: 15
I forgot quotes - 16255 entries

Oops.

  • Best score: 10
  • Best player score: 17
  • Position: #3118 / 4229
  • Number of attempts: 3
A HAPPY NEW YEAR 2014 ! - 10757 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 11
  • Position: #1622 / 3717
  • Number of attempts: 4
Words in parens - 13063 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 13
  • Position: #27 / 3995
  • Number of attempts: 5
Coordinates placeholder - 96 entries

Place coordinates instead of target search.

  • Best score: 22
  • Best player score: 26
  • Position: #39 / 45
  • Number of attempts: 1
Change the content of a string - 1810 entries

This docstring is a complete lie. Fix it.

  • Best score: 22
  • Best player score: 22
  • Position: #251 / 659
  • Number of attempts: 3
Flodder-challenge - 1527 entries

Replace the text the most efficient and win!

  • Best score: 27
  • Best player score: 45
  • Position: #323 / 384
  • Number of attempts: 6
Simple text editing with Vim - 13682 entries

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

  • Best score: 13
  • Best player score: 13
  • Position: #749 / 3920
  • Number of attempts: 9
Breemskin
Github:

entered into 14 challenges

contributed 0 challenges