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

Make HTML List - 1072 entries

Turn the comma separated list into an unordered html list.

  • Best score: 33
  • Best player score: 40
  • Position: #94 / 276
  • Number of attempts: 2
Angular naming conventions - 359 entries

In angular, a directive name follows the camelCase convention. When the directive is used in an HTML template, the words are instead separated by a dash. Go from to the other the fastest!

  • Best score: 18
  • Best player score: 20
  • Position: #78 / 124
  • Number of attempts: 1
Replace and keep the case - 471 entries

Replace all instance of plugin and Plugin to device and Device.

  • Best score: 26
  • Best player score: 31
  • Position: #91 / 123
  • Number of attempts: 1
-a-b-c- - 3242 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 15
  • Position: #640 / 1147
  • Number of attempts: 1
Count both ways - 1053 entries

Right AND down.

  • Best score: 13
  • Best player score: 16
  • Position: #259 / 362
  • Number of attempts: 1
Change name of a variable - 197 entries

Replace the name of the $variable with the fastest move possible. The challenge is having a command that allow you to easily change the variable name even if its indented.

  • Best score: 9
  • Best player score: 9
  • Position: #100 / 148
  • Number of attempts: 1
Words in parens - 13054 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 14
  • Position: #707 / 3991
  • Number of attempts: 1
Make it more readable - 2039 entries

Insert blank lines to make it more organized and readable

  • Best score: 13
  • Best player score: 16
  • Position: #409 / 658
  • Number of attempts: 2
Reverse and count - 501 entries

Someone typed things upside down and now a Vim ninja needs to reverse the lines and count how many there are.

  • Best score: 18
  • Best player score: 18
  • Position: #3 / 181
  • Number of attempts: 2
Increment, increment, increment.... - 709 entries

Vim likes macros

  • Best score: 10
  • Best player score: 10
  • Position: #9 / 417
  • Number of attempts: 1
Peter Brynza
Twitter:

entered into 10 challenges

contributed 0 challenges