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

Changing date formats - 514 entries

Change the date format to Y/M/D.

  • Best score: 37
  • Best player score: 57
  • Position: #40 / 154
  • Number of attempts: 1
YAML to dotenv - 1085 entries

Convert this YAML config file to a .env file.

  • Best score: 16
  • Best player score: 28
  • Position: #141 / 239
  • Number of attempts: 1
Change to ascending order - 404 entries

Change each line of numbers consistently from descending to ascending order.

  • Best score: 17
  • Best player score: 26
  • Position: #19 / 101
  • Number of attempts: 4
Swap columns and transform to CSV format - 341 entries

Turn this spreadsheet output into a CSV file but first swap the columns

  • Best score: 16
  • Best player score: 17
  • Position: #16 / 125
  • Number of attempts: 1
Generate an entry for each month - 280 entries

The input file contains a URI with a month in it. Generate the URIs for all the other months up to a couple of years

  • Best score: 27
  • Best player score: 38
  • Position: #26 / 72
  • Number of attempts: 4
Fix the git merge conflicts - 244 entries

Solve the merge conflicts in the Python file

  • Best score: 36
  • Best player score: 51
  • Position: #25 / 69
  • Number of attempts: 1
months to html list items - 1098 entries

Turn the months into list items.

  • Best score: 22
  • Best player score: 28
  • Position: #197 / 299
  • Number of attempts: 1
Search and Replace 0 - 5010 entries

Replace every instance of 'aaa' with 'xaaax'.

  • Best score: 12
  • Best player score: 12
  • Position: #207 / 1632
  • Number of attempts: 2
Numbering a List - 1940 entries

Pretty simple, number the list.

  • Best score: 13
  • Best player score: 18
  • Position: #125 / 656
  • Number of attempts: 4
Braces or Brackets? - 1079 entries

Someone forgot whether to use braces or brackets and you have to clean up their code!

  • Best score: 34
  • Best player score: 42
  • Position: #134 / 334
  • Number of attempts: 5
Whitespace, empty lines and tabs - 3814 entries

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

  • Best score: 16
  • Best player score: 25
  • Position: #409 / 820
  • Number of attempts: 4
Flodder-challenge - 1391 entries

Replace the text the most efficient and win!

  • Best score: 27
  • Best player score: 42
  • Position: #275 / 357
  • Number of attempts: 1
Simple text editing with Vim - 13184 entries

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

  • Best score: 13
  • Best player score: 17
  • Position: #2382 / 3789
  • Number of attempts: 3
Reformat/Refactor a Golfer Class - 7319 entries

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

  • Best score: 7
  • Best player score: 33
  • Position: #230 / 1807
  • Number of attempts: 7

Contributed Challenges

YAML to dotenv - 1085 entries

Convert this YAML config file to a .env file.

iantalks
Twitter:

Perfecting the cute-cat-video in text-form since 2009.

entered into 14 challenges

contributed 1 challenges