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: #204 / 7450
  • Number of attempts: 10
Just the middle - 11497 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #2029 / 4215
  • Number of attempts: 2
Basic renumbering - 5685 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 18
  • Position: #665 / 1270
  • Number of attempts: 2
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: 34
  • Position: #40 / 53
  • Number of attempts: 2
Vice versa - 7968 entries

Little role switching.

  • Best score: 12
  • Best player score: 24
  • Position: #1984 / 2144
  • Number of attempts: 1
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: 19
  • Position: #50 / 119
  • Number of attempts: 3
Collect List - 4308 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 13
  • Position: #551 / 1192
  • Number of attempts: 2
I forgot quotes - 16051 entries

Oops.

  • Best score: 10
  • Best player score: 10
  • Position: #297 / 4194
  • Number of attempts: 8
A HAPPY NEW YEAR 2014 ! - 10699 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 14
  • Position: #2761 / 3695
  • Number of attempts: 2
quotes inside quotes - 3182 entries

taken from tip 85 of the very good book 'Practical Vim: Edit Text at the Speed of Thought' ! I'd be interested what people use :)

  • Best score: 14
  • Best player score: 14
  • Position: #213 / 1085
  • Number of attempts: 3
Words in parens - 12969 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 15
  • Position: #1507 / 3970
  • Number of attempts: 3
Aaron Mininger
Twitter:

entered into 11 challenges

contributed 0 challenges