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 - 1212 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: 59
  • Position: #95 / 277
  • Number of attempts: 3
Sort and Tag - 684 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: 101
  • Position: #87 / 144
  • Number of attempts: 1
Word completion - 284 entries

Try to complete these options within 20 keystrokes.

  • Best score: 20
  • Best player score: 96
  • Position: #49 / 76
  • Number of attempts: 1
Rearrange array to single level - 1768 entries

The goal is to flatten the array into a single list and remove any empty elements.

  • Best score: 14
  • Best player score: 15
  • Position: #29 / 296
  • Number of attempts: 12
phix
Github:

entered into 4 challenges

contributed 0 challenges