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

Reordering properties - 487 entries

Arrange the CSS lines for the #topbar selector based on their complete line length, from shortest to longest.

  • Best score: 24
  • Best player score: 79
  • Position: #69 / 134
  • Number of attempts: 3
YAML to dotenv - 583 entries

Convert this YAML config file to a .env file.

  • Best score: 16
  • Best player score: 25
  • Position: #68 / 141
  • Number of attempts: 4
Change to ascending order - 270 entries

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

  • Best score: 17
  • Best player score: 106
  • Position: #55 / 73
  • Number of attempts: 1
Swap columns and transform to CSV format - 236 entries

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

  • Best score: 16
  • Best player score: 23
  • Position: #69 / 87
  • Number of attempts: 2
Generate an entry for each month - 177 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: 68
  • Position: #40 / 53
  • Number of attempts: 3
Fix the git merge conflicts - 139 entries

Solve the merge conflicts in the Python file

  • Best score: 36
  • Best player score: 76
  • Position: #39 / 46
  • Number of attempts: 1
attr_aligner - 3522 entries

Two attr keywords. Two separate indentations. Align the colons.

  • Best score: 19
  • Best player score: 19
  • Position: #185 / 703
  • Number of attempts: 2
Braces or Brackets? - 1056 entries

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

  • Best score: 34
  • Best player score: 73
  • Position: #310 / 325
  • 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: 19
  • Position: #218 / 807
  • Number of attempts: 7
Flodder-challenge - 1343 entries

Replace the text the most efficient and win!

  • Best score: 27
  • Best player score: 49
  • Position: #312 / 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: 14
  • Position: #2050 / 3743
  • Number of attempts: 3
Reformat/Refactor a Golfer Class - 7172 entries

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

  • Best score: 28
  • Best player score: 65
  • Position: #1638 / 1760
  • Number of attempts: 1
Ryo3110
Github:

entered into 12 challenges

contributed 0 challenges