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 - 1067 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: #124 / 245
  • Number of attempts: 3
YAML to dotenv - 1256 entries

Convert this YAML config file to a .env file.

  • Best score: 16
  • Best player score: 25
  • Position: #139 / 267
  • Number of attempts: 4
Change to ascending order - 450 entries

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

  • Best score: 17
  • Best player score: 106
  • Position: #87 / 110
  • Number of attempts: 1
Swap columns and transform to CSV format - 387 entries

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

  • Best score: 16
  • Best player score: 23
  • Position: #111 / 144
  • Number of attempts: 2
Generate an entry for each month - 351 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: #64 / 84
  • Number of attempts: 3
Fix the git merge conflicts - 288 entries

Solve the merge conflicts in the Python file

  • Best score: 36
  • Best player score: 76
  • Position: #67 / 78
  • Number of attempts: 1
attr_aligner - 3525 entries

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

  • Best score: 19
  • Best player score: 19
  • Position: #185 / 706
  • Number of attempts: 2
Braces or Brackets? - 1109 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: #326 / 341
  • 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: 19
  • Position: #224 / 830
  • Number of attempts: 7
Flodder-challenge - 1416 entries

Replace the text the most efficient and win!

  • Best score: 27
  • Best player score: 49
  • Position: #323 / 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: 14
  • Position: #2062 / 3811
  • Number of attempts: 3
Reformat/Refactor a Golfer Class - 7415 entries

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

  • Best score: 7
  • Best player score: 65
  • Position: #1693 / 1825
  • Number of attempts: 1
Ryo3110
Github:

entered into 12 challenges

contributed 0 challenges