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

Convert this YAML config file to a .env file.

  • Best score: 16
  • Best player score: 43
  • Position: #226 / 271
  • Number of attempts: 2
Rearrange array to single level - 1654 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: #225 / 274
  • Number of attempts: 3
Rearrange array to one line - 774 entries

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

  • Best score: 13
  • Best player score: 124
  • Position: #180 / 183
  • Number of attempts: 2
Find anomalies - 161 entries

There is one special character per line

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

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

  • Best score: 16
  • Best player score: 37
  • Position: #746 / 830
  • Number of attempts: 3
Flodder-challenge - 1416 entries

Replace the text the most efficient and win!

  • Best score: 27
  • Best player score: 76
  • Position: #354 / 360
  • Number of attempts: 2
Simple text editing with Vim - 13274 entries

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

  • Best score: 13
  • Best player score: 15
  • Position: #2193 / 3811
  • Number of attempts: 5
Reformat/Refactor a Golfer Class - 7415 entries

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

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

entered into 8 challenges

contributed 0 challenges