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 - 33757 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: #287 / 7450
  • Number of attempts: 7
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: #43 / 53
  • Number of attempts: 4
Vice versa - 7968 entries

Little role switching.

  • Best score: 12
  • Best player score: 12
  • Position: #129 / 2144
  • Number of attempts: 5
comments galore - 1069 entries

Basic comment reformatting

  • Best score: 10
  • Best player score: 10
  • Position: #107 / 428
  • Number of attempts: 4
Angular naming conventions - 326 entries

In angular, a directive name follows the camelCase convention. When the directive is used in an HTML template, the words are instead separated by a dash. Go from to the other the fastest!

  • Best score: 18
  • Best player score: 20
  • Position: #73 / 119
  • Number of attempts: 5
I forgot quotes - 16051 entries

Oops.

  • Best score: 10
  • Best player score: 10
  • Position: #341 / 4194
  • Number of attempts: 3
Goonoo Kim
Twitter:

Korean web professional. OpenWAX founder. Interested in HTML, CSS, JavaScript, Web Accessibility, and *쪼꼬*.

entered into 6 challenges

contributed 0 challenges