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

JS notation to Immutable.js notation - 151 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: 35
  • Best player score: 35
  • Number of attempts: 6
Create bison tokens - 34 entries

Create tokens for bison out of a known list of words

  • Best score: 85
  • Best player score: 105
  • Number of attempts: 2
FoodCritic023: Prefer conditional attributes - 166 entries

FoodCritic ( is a lint tool for your Chef ( 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 for more details about the changes being made.

  • Best score: 25
  • Best player score: 29
  • Number of attempts: 3
lipsum lines - 245 entries

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

  • Best score: 28
  • Best player score: 36
  • Number of attempts: 2
Manual SQL - 95 entries

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

  • Best score: 49
  • Best player score: 71
  • Number of attempts: 2
Vim's not included features - 168 entries

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

  • Best score: 23
  • Best player score: 33
  • Number of attempts: 2
Vice versa - 7215 entries

Little role switching.

  • Best score: 12
  • Best player score: 18
  • Number of attempts: 3
Simple, Practical, and Common - 32022 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
  • Number of attempts: 6
Just the middle - 10897 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Number of attempts: 2
Frederik Klama

entered into 9 challenges

contributed 0 challenges