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

Making 3 line function a one liner. - 343 entries

Simple challenge for frequent action while programming.

  • Best score: 4
  • Best player score: 4
  • Position: #155 / 211
  • Number of attempts: 1
Modernise code - 1434 entries

Modernise and clean up some C++ code.

  • Best score: 34
  • Best player score: 55
  • Position: #269 / 331
  • Number of attempts: 2
Enumerate Bullets - 337 entries

We will need to refer to the bullet points in our document explicitly later, so we need to assign them some ID's!

  • Best score: 18
  • Best player score: 69
  • Position: #83 / 91
  • Number of attempts: 1
Satisfy the go linter - 2476 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: 20
  • Position: #148 / 492
  • Number of attempts: 10
Bad Copy Syntax - 2072 entries

Copy should be from right to left, but sometimes you type it wrong.

  • Best score: 18
  • Best player score: 21
  • Position: #308 / 539
  • Number of attempts: 8
Just the middle - 11555 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Position: #110 / 4234
  • Number of attempts: 3
I forgot quotes - 16127 entries

Oops.

  • Best score: 10
  • Best player score: 10
  • Position: #83 / 4208
  • Number of attempts: 5
-a-b-c- - 3225 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 13
  • Position: #68 / 1140
  • Number of attempts: 5
A HAPPY NEW YEAR 2014 ! - 10720 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 11
  • Position: #613 / 3703
  • Number of attempts: 4
Words in parens - 13005 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 16
  • Position: #2205 / 3979
  • Number of attempts: 1
abcd > a b c d - 299 entries

transform the single spaces into 4 spaces repeat for each line

  • Best score: 15
  • Best player score: 15
  • Position: #199 / 228
  • Number of attempts: 1
quasineutral
Twitter:

that/guy

entered into 11 challenges

contributed 0 challenges