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 - 218 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: #31 / 54
  • Number of attempts: 3
YAML to dotenv - 396 entries

Convert this YAML config file to a .env file.

  • Best score: 16
  • Best player score: 25
  • Position: #54 / 101
  • Number of attempts: 4
Change to ascending order - 236 entries

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

  • Best score: 17
  • Best player score: 106
  • Position: #48 / 62
  • Number of attempts: 1
Swap columns and transform to CSV format - 187 entries

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

  • Best score: 16
  • Best player score: 23
  • Position: #55 / 68
  • Number of attempts: 2
Generate an entry for each month - 163 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: #37 / 48
  • Number of attempts: 3
Fix the git merge conflicts - 121 entries

Solve the merge conflicts in the Python file

  • Best score: 36
  • Best player score: 76
  • Position: #34 / 39
  • 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
Whitespace, empty lines and tabs - 3741 entries

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

  • Best score: 16
  • Best player score: 19
  • Position: #217 / 802
  • Number of attempts: 7
Simple text editing with Vim - 12955 entries

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

  • Best score: 13
  • Best player score: 14
  • Position: #2046 / 3730
  • Number of attempts: 3
Reformat/Refactor a Golfer Class - 7124 entries

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

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

entered into 10 challenges

contributed 0 challenges