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 - 434 entries

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

  • Best score: 16
  • Best player score: 18
  • Number of attempts: 5
Satisfy the go linter - 1188 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
  • Number of attempts: 2
Multiline to Single Line - 207 entries

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

  • Best score: 5
  • Best player score: 5
  • Number of attempts: 6
Add semicolons - 9585 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 16
  • Number of attempts: 2
Simple, Practical, and Common - 32042 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
  • Number of attempts: 2
I forgot quotes - 15279 entries

Oops.

  • Best score: 10
  • Best player score: 18
  • Number of attempts: 1
A HAPPY NEW YEAR 2014 ! - 10413 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 22
  • Number of attempts: 2
ZackBurtAWS
Twitter:

Software Development Engineer at @awscloud

entered into 7 challenges

contributed 0 challenges