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

YAML to dotenv - 1418 entries

Convert this YAML config file to a .env file.

  • Best score: 16
  • Best player score: 27
  • Position: #168 / 292
  • Number of attempts: 1
Fix the git merge conflicts - 310 entries

Solve the merge conflicts in the Python file

  • Best score: 36
  • Best player score: 57
  • Position: #42 / 87
  • Number of attempts: 1
Remove adjacent duplicates - 663 entries

Try to find a way to remove adjacent duplicate letters.

  • Best score: 19
  • Best player score: 24
  • Position: #83 / 165
  • Number of attempts: 3
Rearrange array to single level - 1711 entries

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

  • Best score: 14
  • Best player score: 27
  • Position: #154 / 285
  • Number of attempts: 1
Rearrange array to one line - 804 entries

Rearrange the array content on only one line, and remove trailing commas

  • Best score: 13
  • Best player score: 28
  • Position: #153 / 188
  • Number of attempts: 1
Copy punctuation - 681 entries

I want to copy the last line’s brackets, quotes, and commas to each line. How?

  • Best score: 19
  • Best player score: 45
  • Position: #113 / 165
  • Number of attempts: 1
Sort and add attributes - 1552 entries

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

  • Best score: 33
  • Best player score: 41
  • Position: #562 / 599
  • Number of attempts: 1
Flodder-challenge - 1432 entries

Replace the text the most efficient and win!

  • Best score: 27
  • Best player score: 40
  • Position: #265 / 365
  • Number of attempts: 1
Simple text editing with Vim - 13343 entries

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

  • Best score: 13
  • Best player score: 20
  • Position: #2934 / 3830
  • Number of attempts: 2
Reformat/Refactor a Golfer Class - 7478 entries

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

  • Best score: 7
  • Best player score: 49
  • Position: #1433 / 1840
  • Number of attempts: 1
Fionn Fitzmaurice
Github:

entered into 10 challenges

contributed 0 challenges