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

swap number pairs - 2169 entries

Swap the numbers in a bunch of 2-element arrays.

  • Best score: 16
  • Best player score: 18
  • Position: #128 / 393
  • Number of attempts: 5
Satisfy the go linter - 2477 entries

You just came up with this briliant go vars package. But dang, you forgot to add comments to the exported variables. Can you add a comment over each variable with a TODO-placeholder?

  • Best score: 20
  • Best player score: 45
  • Position: #473 / 493
  • Number of attempts: 2
Multiline to Single Line - 751 entries

Convert a multiline, indented file to a single line with no whitespace

  • Best score: 5
  • Best player score: 5
  • Position: #81 / 320
  • Number of attempts: 6
Simple, Practical, and Common - 33948 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: 30
  • Position: #5380 / 7496
  • Number of attempts: 2
Add semicolons - 10930 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 16
  • Position: #2516 / 3090
  • Number of attempts: 2
I forgot quotes - 16156 entries

Oops.

  • Best score: 10
  • Best player score: 18
  • Position: #3402 / 4213
  • Number of attempts: 1
A HAPPY NEW YEAR 2014 ! - 10732 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 22
  • Position: #3613 / 3707
  • Number of attempts: 2
ZackBurtAWS
Twitter:

Software Development Engineer at @awscloud

entered into 7 challenges

contributed 0 challenges