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

swap number pairs - 2146 entries

Swap the numbers in a bunch of 2-element arrays.

  • Best score: 16
  • Best player score: 64
  • Position: #374 / 390
  • Number of attempts: 1
Rural Post - 4572 entries

Simple challenge to remove all but the post code on each line

  • Best score: 9
  • Best player score: 21
  • Position: #879 / 1116
  • Number of attempts: 4
Simple, Practical, and Common - 33868 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: 29
  • Position: #4990 / 7475
  • Number of attempts: 2
Hogwarts Email Sorting - 944 entries

Given a list of emails, get the students full name and their associated house.

  • Best score: 20
  • Best player score: 23
  • Position: #189 / 267
  • Number of attempts: 2
One number per line - 18831 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 23
  • Position: #3126 / 3889
  • Number of attempts: 3
SCREAMING_SNAKE_CASE to Title Case - 1253 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: 42
  • Position: #240 / 261
  • Number of attempts: 3
Add semicolons - 10916 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 17
  • Position: #2618 / 3085
  • Number of attempts: 1
Every other line - 2925 entries

AaAaAaA

  • Best score: 12
  • Best player score: 21
  • Position: #643 / 707
  • Number of attempts: 1
Basic renumbering - 5707 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 46
  • Position: #1265 / 1274
  • Number of attempts: 2
Reorder the groups - 1185 entries

Change the order so that the groups of fruit come before the vegetables.

  • Best score: 14
  • Best player score: 20
  • Position: #178 / 266
  • Number of attempts: 2
I forgot quotes - 16093 entries

Oops.

  • Best score: 10
  • Best player score: 19
  • Position: #3575 / 4202
  • Number of attempts: 1
Joshua Parco
Twitter:

entered into 11 challenges

contributed 0 challenges