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

Convert this YAML config file to a .env file.

  • Best score: 16
  • Best player score: 43
  • Position: #252 / 298
  • Number of attempts: 2
Rearrange array to single level - 1720 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: #239 / 289
  • Number of attempts: 3
Rearrange array to one line - 807 entries

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

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

There is one special character per line

  • Best score: 30
  • Best player score: 230
  • Position: #42 / 44
  • Number of attempts: 2
Whitespace, empty lines and tabs - 3949 entries

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

  • Best score: 16
  • Best player score: 37
  • Position: #756 / 841
  • Number of attempts: 3
Flodder-challenge - 1443 entries

Replace the text the most efficient and win!

  • Best score: 27
  • Best player score: 76
  • Position: #363 / 369
  • Number of attempts: 2
Simple text editing with Vim - 13419 entries

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

  • Best score: 13
  • Best player score: 15
  • Position: #2212 / 3846
  • Number of attempts: 5
Reformat/Refactor a Golfer Class - 7507 entries

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

  • Best score: 7
  • Best player score: 79
  • Position: #1784 / 1847
  • Number of attempts: 2
Etrama
Github:

entered into 8 challenges

contributed 0 challenges