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

Convert this YAML config file to a .env file.

  • Best score: 16
  • Best player score: 43
  • Position: #112 / 137
  • Number of attempts: 2
Rearrange array to single level - 1413 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: #191 / 231
  • Number of attempts: 3
Rearrange array to one line - 678 entries

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

  • Best score: 13
  • Best player score: 124
  • Position: #159 / 162
  • 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 - 3745 entries

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

  • Best score: 16
  • Best player score: 37
  • Position: #727 / 805
  • Number of attempts: 3
Flodder-challenge - 1330 entries

Replace the text the most efficient and win!

  • Best score: 27
  • Best player score: 76
  • Position: #341 / 347
  • Number of attempts: 2
Simple text editing with Vim - 13004 entries

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

  • Best score: 13
  • Best player score: 15
  • Position: #2158 / 3741
  • Number of attempts: 5
Reformat/Refactor a Golfer Class - 7164 entries

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

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

entered into 8 challenges

contributed 0 challenges