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

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

  • Best score: 16
  • Best player score: 64
  • Position: #368 / 384
  • Number of attempts: 1
Rural Post - 4552 entries

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

  • Best score: 9
  • Best player score: 21
  • Position: #874 / 1110
  • Number of attempts: 4
Simple, Practical, and Common - 33742 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: #4979 / 7447
  • Number of attempts: 2
Hogwarts Email Sorting - 928 entries

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

  • Best score: 20
  • Best player score: 23
  • Position: #185 / 262
  • Number of attempts: 2
One number per line - 18776 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 23
  • Position: #3119 / 3875
  • Number of attempts: 3
SCREAMING_SNAKE_CASE to Title Case - 1216 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: #231 / 251
  • Number of attempts: 3
Add semicolons - 10887 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 17
  • Position: #2609 / 3074
  • Number of attempts: 1
Every other line - 2916 entries

AaAaAaA

  • Best score: 12
  • Best player score: 21
  • Position: #641 / 705
  • Number of attempts: 1
Basic renumbering - 5683 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 46
  • Position: #1260 / 1269
  • Number of attempts: 2
Reorder the groups - 1182 entries

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

  • Best score: 14
  • Best player score: 20
  • Position: #177 / 265
  • Number of attempts: 2
I forgot quotes - 16038 entries

Oops.

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

entered into 11 challenges

contributed 0 challenges