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

V to the i - 4798 entries

Input is 99 V's. Output is 100 i's.

  • Best score: 7
  • Best player score: 8
  • Position: #876 / 1891
  • Number of attempts: 2
SCREAMING_SNAKE_CASE to Title Case - 1214 entries

Convert strings in SCREAMING_SNAKE_CASE to Title Case. Examples: EMPLOYEE_NAME -> Employee Name REVENUE_YEAR_TO_DATE -> Revenue Year To Date SALARY -> Salary

  • Best score: 19
  • Best player score: 19
  • Position: #4 / 249
  • Number of attempts: 7
That hyphen - 2595 entries

"vim vi improved"

  • Best score: 9
  • Best player score: 12
  • Position: #383 / 701
  • Number of attempts: 2
Just the middle - 11423 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Position: #46 / 4185
  • Number of attempts: 4
For all cases. - 160 entries

In this case... change it! :) Watch the line.

  • Best score: 8
  • Best player score: 8
  • Position: #2 / 105
  • Number of attempts: 3
Basic renumbering - 5645 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 19
  • Position: #714 / 1263
  • Number of attempts: 3
comments galore - 1041 entries

Basic comment reformatting

  • Best score: 10
  • Best player score: 10
  • Position: #2 / 423
  • Number of attempts: 4
Alsa configuration - 513 entries

I'm tweaking my ~/.asoundrc file!

  • Best score: 22
  • Best player score: 35
  • Position: #106 / 128
  • Number of attempts: 2
Hello ${world} - 324 entries

Migrate a JavaScript String from concatenation to ES6 interpolation.

  • Best score: 24
  • Best player score: 30
  • Position: #63 / 96
  • Number of attempts: 1
Separating firstname & lastname - 138 entries

Seperate named with equal tabs.

  • Best score: 19
  • Best player score: 27
  • Position: #39 / 57
  • Number of attempts: 1
From A to B - 591 entries

Mirror and change this text block

  • Best score: 16
  • Best player score: 38
  • Position: #153 / 159
  • Number of attempts: 1
I forgot quotes - 15974 entries

Oops.

  • Best score: 10
  • Best player score: 15
  • Position: #2057 / 4175
  • Number of attempts: 2
-a-b-c- - 3213 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 13
  • Position: #14 / 1137
  • Number of attempts: 3
A HAPPY NEW YEAR 2014 ! - 10657 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 11
  • Position: #470 / 3679
  • Number of attempts: 3
Michael Foley
Twitter:

I enjoy Ruby, outer space, and martial arts. Director of Yak Shaving at @trailhead.

entered into 14 challenges

contributed 0 challenges