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

Change class fields from snake case to camel case - 322 entries

Change the class fields in this Scala class from snake case to camel case

  • Best score: 13
  • Best player score: 21
  • Position: #110 / 121
  • Number of attempts: 1
Reorganize Pokémon - 875 entries

Change the format of the each line and sort alphabetically.

  • Best score: 18
  • Best player score: 21
  • Position: #88 / 240
  • Number of attempts: 2
Rearrange array to one line - 889 entries

Rearrange the array content on only one line, and remove trailing commas

  • Best score: 13
  • Best player score: 21
  • Position: #125 / 205
  • Number of attempts: 3
Copy punctuation - 739 entries

I want to copy the last line’s brackets, quotes, and commas to each line. How?

  • Best score: 19
  • Best player score: 39
  • Position: #102 / 181
  • Number of attempts: 1
New teacher - 1527 entries

Update the details of the new CS teacher.

  • Best score: 19
  • Best player score: 21
  • Position: #61 / 319
  • Number of attempts: 4
Modernise code - 1439 entries

Modernise and clean up some C++ code.

  • Best score: 34
  • Best player score: 43
  • Position: #169 / 333
  • Number of attempts: 1
Simple, Practical, and Common - 34012 entries

Simple things we do all the time should be able to be done with very few keystrokes, but sometimes I find something I need to do makes me go, "There MUST be a better way." This challenge is just a simple movement and entering text at a certain place.

  • Best score: 22
  • Best player score: 31
  • Position: #5770 / 7513
  • Number of attempts: 1
Extract wireshark capture filter - 246 entries

Extract wireshark capture filter from IP plan

  • Best score: 25
  • Best player score: 29
  • Position: #50 / 78
  • Number of attempts: 1
Search and Replace 0 - 5159 entries

Replace every instance of 'aaa' with 'xaaax'.

  • Best score: 12
  • Best player score: 12
  • Position: #743 / 1674
  • Number of attempts: 2
Just the middle - 11616 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #3223 / 4255
  • Number of attempts: 1
Fiddle percentages into real numbers - 886 entries

Get rid of the '%' symbols and shift the decimal place. This is the easier version - all the columns line up.

  • Best score: 13
  • Best player score: 16
  • Position: #209 / 297
  • Number of attempts: 1
Condensed Cases - 827 entries

Apple's new programming language, Swift, allows two style of case statements: 1) one Enum case on each line, or 2) multiple Enum cases on a single line. Convert the following from the first case (no pun intended) to the second type.

  • Best score: 12
  • Best player score: 13
  • Position: #103 / 254
  • Number of attempts: 3
Happy TvvO - 439 entries

Don’t forget the past, learn from it. Happy New Year.

  • Best score: 12
  • Best player score: 14
  • Position: #201 / 211
  • Number of attempts: 1
Mess in revision history - 1235 entries

Help Joe clean up what Steve has cobbled.

  • Best score: 17
  • Best player score: 26
  • Position: #154 / 259
  • Number of attempts: 1
A HAPPY NEW YEAR 2014 ! - 10757 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 12
  • Position: #2530 / 3716
  • Number of attempts: 1
Switch function arguments - 2229 entries

How to switch two arguments of a function.

  • Best score: 11
  • Best player score: 12
  • Position: #344 / 684
  • Number of attempts: 2
Append semicolon after expressions - 1086 entries

Some lines need the semicolon, some don't.

  • Best score: 11
  • Best player score: 12
  • Position: #266 / 426
  • Number of attempts: 1
Shebangs for all - 2103 entries

We've all seen or used a shebang once or twice. Ditch the specific paths and leave just a dynamic Ruby and Python bath behind.

  • Best score: 11
  • Best player score: 15
  • Position: #296 / 533
  • Number of attempts: 2
Brice Bischoff
Github:

entered into 18 challenges

contributed 0 challenges