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

Extract argument from function - 2314 entries

The aim is to see if you can do some refactoring very fast.

  • Best score: 13
  • Best player score: 16
  • Position: #469 / 744
  • Number of attempts: 6
Basic renumbering - 5587 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 31
  • Position: #1211 / 1258
  • Number of attempts: 1
Nesting SASS - 261 entries

Move a block inside another block and indent it

  • Best score: 9
  • Best player score: 24
  • Position: #91 / 93
  • Number of attempts: 2
learn vim in short time - 232 entries

so happy to learn vim.because vim is awesome

  • Best score: 8
  • Best player score: 8
  • Position: #41 / 158
  • Number of attempts: 5
Two become one - 711 entries

We have two c arrays and want to make one two dimensional out of it. Can we do that?

  • Best score: 25
  • Best player score: 39
  • Position: #178 / 206
  • Number of attempts: 2
Mess in revision history - 1161 entries

Help Joe clean up what Steve has cobbled.

  • Best score: 17
  • Best player score: 45
  • Position: #234 / 247
  • Number of attempts: 2
A HAPPY NEW YEAR 2014 ! - 10628 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 18
  • Position: #3423 / 3667
  • Number of attempts: 4
attr_aligner - 3444 entries

Two attr keywords. Two separate indentations. Align the colons.

  • Best score: 19
  • Best player score: 47
  • Position: #656 / 692
  • Number of attempts: 3
quotes inside quotes - 3125 entries

taken from tip 85 of the very good book 'Practical Vim: Edit Text at the Speed of Thought' ! I'd be interested what people use :)

  • Best score: 14
  • Best player score: 29
  • Position: #1047 / 1072
  • Number of attempts: 2
Words in parens - 12858 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 17
  • Position: #2594 / 3946
  • Number of attempts: 10
Indentation - 498 entries

Indent each line according to the right number of spaces it needs.

  • Best score: 21
  • Best player score: 39
  • Position: #147 / 169
  • Number of attempts: 2
Heron Medeiros
Twitter:

Use Ruby!

entered into 11 challenges

contributed 0 challenges