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

Create json from a .env file - 767 entries

A simple everyday task.

  • Best score: 39
  • Best player score: 40
  • Position: #18 / 174
  • Number of attempts: 10
Reordering properties - 825 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: #100 / 195
  • Number of attempts: 3
Sort and Tag - 446 entries

The goal is to sort these lines alphabetically, assign a unique identifier to each line in the format "[01]", "[02]", etc., and then restore the original order of the lines while preserving the assigned identifiers.

  • Best score: 36
  • Best player score: 86
  • Position: #50 / 94
  • Number of attempts: 2
YAML to dotenv - 969 entries

Convert this YAML config file to a .env file.

  • Best score: 16
  • Best player score: 23
  • Position: #102 / 212
  • Number of attempts: 5
Vim's not included features - 244 entries

Filter not included (-) features in a hypothetical installation of vim.

  • Best score: 23
  • Best player score: 39
  • Position: #58 / 66
  • Number of attempts: 4
comments galore - 1073 entries

Basic comment reformatting

  • Best score: 10
  • Best player score: 15
  • Position: #404 / 429
  • Number of attempts: 2
Mess in revision history - 1210 entries

Help Joe clean up what Steve has cobbled.

  • Best score: 17
  • Best player score: 37
  • Position: #224 / 254
  • Number of attempts: 2
A HAPPY NEW YEAR 2014 ! - 10699 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 14
  • Position: #2870 / 3695
  • Number of attempts: 1
Change the content of a string - 1656 entries

This docstring is a complete lie. Fix it.

  • Best score: 22
  • Best player score: 29
  • Position: #544 / 611
  • Number of attempts: 1
Simple text editing with Vim - 13134 entries

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

  • Best score: 13
  • Best player score: 19
  • Position: #2799 / 3776
  • Number of attempts: 3
Adrian Lym
Github:

entered into 10 challenges

contributed 0 challenges