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 - 32992 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: 23
  • Position: #2413 / 7283
  • Number of attempts: 5
Add semicolons - 10707 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 10
  • Position: #287 / 3013
  • Number of attempts: 6
Just the middle - 11261 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #2038 / 4135
  • Number of attempts: 2
FoodCritic023: Prefer conditional attributes - 177 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: #40 / 50
  • Number of attempts: 3
comments galore - 970 entries

Basic comment reformatting

  • Best score: 10
  • Best player score: 10
  • Position: #19 / 410
  • Number of attempts: 3
Words in parens - 12769 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 16
  • Position: #2265 / 3925
  • Number of attempts: 5

Contributed Challenges

FoodCritic023: Prefer conditional attributes - 177 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.

Brian D. Goad
Twitter:

[ Creative Analytic Convergence ] #FullStackTester and #QEManager at @Tivo #Husband to @vallielynne #Dad of four (b) (g) (b) (g) #Disciple #JesusFollower

entered into 6 challenges

contributed 1 challenges