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

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

  • Best score: 16
  • Best player score: 64
  • Position: #269 / 283
  • Number of attempts: 1
Rural Post - 4105 entries

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

  • Best score: 9
  • Best player score: 21
  • Position: #787 / 1015
  • Number of attempts: 4
Simple, Practical, and Common - 32903 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: #4874 / 7270
  • Number of attempts: 2
Hogwarts Email Sorting - 828 entries

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

  • Best score: 20
  • Best player score: 23
  • Position: #167 / 237
  • Number of attempts: 2
One number per line - 18377 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 23
  • Position: #3061 / 3787
  • Number of attempts: 3
SCREAMING_SNAKE_CASE to Title Case - 1117 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: #216 / 232
  • Number of attempts: 3
Add semicolons - 10539 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 17
  • Position: #2531 / 2988
  • Number of attempts: 1
Every other line - 2829 entries

AaAaAaA

  • Best score: 12
  • Best player score: 21
  • Position: #625 / 686
  • Number of attempts: 1
Basic renumbering - 5428 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 46
  • Position: #1220 / 1226
  • Number of attempts: 2
Reorder the groups - 1112 entries

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

  • Best score: 14
  • Best player score: 20
  • Position: #166 / 252
  • Number of attempts: 2
I forgot quotes - 15727 entries

Oops.

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

entered into 11 challenges

contributed 0 challenges