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

Simple, Practical, and Common - 33621 entries

Simple things we do all the time should be able to be done with very few keystrokes, but sometimes I find something I need to do makes me go, "There MUST be a better way." This challenge is just a simple movement and entering text at a certain place.

  • Best score: 22
  • Best player score: 22
  • Position: #687 / 7422
  • Number of attempts: 7
One number per line - 18732 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 14
  • Position: #333 / 3865
  • Number of attempts: 14
Just the middle - 11458 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #2560 / 4199
  • Number of attempts: 6
Team names - 1836 entries

The team names are misspelled.

  • Best score: 16
  • Best player score: 16
  • Position: #24 / 588
  • Number of attempts: 3
42-header - 43 entries

Rush 42mexican-standoff at 42 school

  • Best score: 22
  • Best player score: 27
  • Position: #9 / 16
  • Number of attempts: 3
FoodCritic023: Prefer conditional attributes - 181 entries

FoodCritic (www.foodcritic.io) is a lint tool for your Chef (learn.chef.io) cookbooks. FC023 indicates that you should prefer Chef guards over Ruby conditions. This challenge expects you to be able to fix this issue in a sample cookbook, given the FoodCritic output: ================================================================ FC023: Prefer conditional attributes: cookbooks/foo/recipes/default.rb:25 ================================================================ See http://www.foodcritic.io/#FC023 for more details about the changes being made.

  • Best score: 25
  • Best player score: 35
  • Position: #42 / 53
  • Number of attempts: 1
Vice versa - 7910 entries

Little role switching.

  • Best score: 12
  • Best player score: 12
  • Position: #324 / 2129
  • Number of attempts: 8
comments galore - 1045 entries

Basic comment reformatting

  • Best score: 10
  • Best player score: 12
  • Position: #375 / 424
  • Number of attempts: 1
Scrambled numbers - 807 entries

Four is NOT 1. One is 1.

  • Best score: 18
  • Best player score: 31
  • Position: #146 / 184
  • Number of attempts: 1
I forgot quotes - 15990 entries

Oops.

  • Best score: 10
  • Best player score: 10
  • Position: #655 / 4182
  • Number of attempts: 12
A HAPPY NEW YEAR 2014 ! - 10669 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 12
  • Position: #2255 / 3684
  • Number of attempts: 1
Words in parens - 12939 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 16
  • Position: #2406 / 3964
  • Number of attempts: 4
Simple text editing with Vim - 12822 entries

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

  • Best score: 13
  • Best player score: 17
  • Position: #2502 / 3698
  • Number of attempts: 2
macmental
Twitter:

STOP FOLLOWING ME

entered into 13 challenges

contributed 0 challenges