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

Convert this YAML config file to a .env file.

  • Best score: 16
  • Best player score: 43
  • Position: #113 / 141
  • Number of attempts: 2
Rearrange array to single level - 1425 entries

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

  • Best score: 14
  • Best player score: 40
  • Position: #192 / 233
  • Number of attempts: 3
Rearrange array to one line - 680 entries

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

  • Best score: 13
  • Best player score: 124
  • Position: #160 / 163
  • Number of attempts: 2
Find anomalies - 151 entries

There is one special character per line

  • Best score: 30
  • Best player score: 230
  • Position: #39 / 41
  • Number of attempts: 2
Whitespace, empty lines and tabs - 3763 entries

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

  • Best score: 16
  • Best player score: 37
  • Position: #729 / 807
  • Number of attempts: 3
Flodder-challenge - 1343 entries

Replace the text the most efficient and win!

  • Best score: 27
  • Best player score: 76
  • Position: #342 / 348
  • Number of attempts: 2
Simple text editing with Vim - 13012 entries

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

  • Best score: 13
  • Best player score: 15
  • Position: #2160 / 3743
  • Number of attempts: 5
Reformat/Refactor a Golfer Class - 7172 entries

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

  • Best score: 28
  • Best player score: 79
  • Position: #1706 / 1760
  • Number of attempts: 2
Etrama
Github:

entered into 8 challenges

contributed 0 challenges