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 - 33970 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: #310 / 7503
  • Number of attempts: 6
Just the middle - 11590 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #2098 / 4246
  • Number of attempts: 2
JS notation to Immutable.js notation - 195 entries

Now Immutable.js made its way into many frontends. This challenge consists of a typical refactoring that many of us are facing now.

  • Best score: 34
  • Best player score: 35
  • Position: #13 / 64
  • Number of attempts: 6
FoodCritic023: Prefer conditional attributes - 189 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: 29
  • Position: #25 / 54
  • Number of attempts: 3
Vice versa - 8011 entries

Little role switching.

  • Best score: 12
  • Best player score: 18
  • Position: #1753 / 2153
  • Number of attempts: 3
Vim's not included features - 265 entries

Filter not included (-) features in a hypothetical installation of vim.

  • Best score: 23
  • Best player score: 33
  • Position: #49 / 69
  • Number of attempts: 2
lipsum lines - 296 entries

Convert a quoted block of text into strings in a list.

  • Best score: 28
  • Best player score: 36
  • Position: #79 / 96
  • Number of attempts: 2
Create bison tokens - 57 entries

Create tokens for bison out of a known list of words

  • Best score: 85
  • Best player score: 105
  • Position: #15 / 20
  • Number of attempts: 2
Manual SQL - 178 entries

Change select and insert queries to simulate inserting a new record.

  • Best score: 48
  • Best player score: 71
  • Position: #36 / 52
  • Number of attempts: 2
Frederik Klama
Twitter:

entered into 9 challenges

contributed 0 challenges