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

Angular naming conventions - 269 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
  • Number of attempts: 1
Reverse and count - 379 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
  • Number of attempts: 2
Count both ways - 898 entries

Right AND down.

  • Best score: 13
  • Best player score: 16
  • Number of attempts: 1
Make HTML List - 917 entries

Turn the comma separated list into an unordered html list.

  • Best score: 33
  • Best player score: 40
  • Number of attempts: 2
Replace and keep the case - 351 entries

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

  • Best score: 26
  • Best player score: 31
  • Number of attempts: 1
Make it more readable - 1775 entries

Insert blank lines to make it more organized and readable

  • Best score: 13
  • Best player score: 16
  • Number of attempts: 2
Change name of a variable - 146 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
  • Number of attempts: 1
Increment, increment, increment.... - 494 entries

Vim likes macros

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 1
Words in parens - 11430 entries

We should all ace this, right?

  • Best score: 14
  • Best player score: 14
  • Number of attempts: 1
-a-b-c- - 2707 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 15
  • Number of attempts: 1
Peter Brynza
Twitter:

entered into 10 challenges

contributed 0 challenges