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 - 1385 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: #162 / 302
  • Number of attempts: 3
YAML to dotenv - 1654 entries

Convert this YAML config file to a .env file.

  • Best score: 16
  • Best player score: 25
  • Position: #183 / 347
  • Number of attempts: 4
Change to ascending order - 566 entries

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

  • Best score: 17
  • Best player score: 106
  • Position: #108 / 138
  • Number of attempts: 1
Swap columns and transform to CSV format - 516 entries

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

  • Best score: 16
  • Best player score: 23
  • Position: #142 / 184
  • Number of attempts: 2
Generate an entry for each month - 398 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: #76 / 102
  • Number of attempts: 3
Fix the git merge conflicts - 394 entries

Solve the merge conflicts in the Python file

  • Best score: 36
  • Best player score: 76
  • Position: #95 / 111
  • Number of attempts: 1
attr_aligner - 3569 entries

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

  • Best score: 7
  • Best player score: 19
  • Position: #186 / 712
  • Number of attempts: 2
Braces or Brackets? - 1219 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: #351 / 367
  • Number of attempts: 2
Whitespace, empty lines and tabs - 4083 entries

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

  • Best score: 7
  • Best player score: 19
  • Position: #239 / 872
  • Number of attempts: 7
Flodder-challenge - 1527 entries

Replace the text the most efficient and win!

  • Best score: 27
  • Best player score: 49
  • Position: #345 / 384
  • Number of attempts: 2
Simple text editing with Vim - 13682 entries

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

  • Best score: 13
  • Best player score: 14
  • Position: #2090 / 3920
  • Number of attempts: 3
Reformat/Refactor a Golfer Class - 7737 entries

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

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

entered into 12 challenges

contributed 0 challenges