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

Turn the comma separated list into an unordered html list.

  • Best score: 33
  • Best player score: 40
  • Position: #94 / 275
  • Number of attempts: 2
Angular naming conventions - 345 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: #76 / 122
  • Number of attempts: 1
Replace and keep the case - 448 entries

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

  • Best score: 26
  • Best player score: 31
  • Position: #89 / 121
  • Number of attempts: 1
-a-b-c- - 3237 entries

Put hyphens everywhere.

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

Right AND down.

  • Best score: 13
  • Best player score: 16
  • Position: #257 / 359
  • Number of attempts: 1
Change name of a variable - 187 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 / 144
  • Number of attempts: 1
Words in parens - 13034 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 14
  • Position: #706 / 3988
  • Number of attempts: 1
Make it more readable - 2036 entries

Insert blank lines to make it more organized and readable

  • Best score: 13
  • Best player score: 16
  • Position: #409 / 657
  • Number of attempts: 2
Reverse and count - 489 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 / 180
  • Number of attempts: 2
Increment, increment, increment.... - 705 entries

Vim likes macros

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

entered into 10 challenges

contributed 0 challenges