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

Plotting some variables in python - 1172 entries

4 sets of (x,y) variables to plot. Just increment the numbers! Well, let's change the colors of the lines as well. Oh and we meant to plot the absolute values of course.

  • Best score: 34
  • Best player score: 40
  • Position: #82 / 247
  • Number of attempts: 3
Simple, Practical, and Common - 32904 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: 22
  • Position: #2026 / 7270
  • Number of attempts: 9
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: 22
  • Position: #97 / 237
  • Number of attempts: 2
One number per line - 18377 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 18
  • Position: #1489 / 3787
  • Number of attempts: 5
V to the i - 4639 entries

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

  • Best score: 7
  • Best player score: 9
  • Position: #1510 / 1856
  • Number of attempts: 1
Add semicolons - 10539 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Position: #1199 / 2988
  • Number of attempts: 2
remove lines containing the word "reader" - 3454 entries

easy stuff

  • Best score: 9
  • Best player score: 9
  • Position: #346 / 1121
  • Number of attempts: 2
Box it - 7680 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 22
  • Position: #511 / 1835
  • Number of attempts: 4
That hyphen - 2498 entries

"vim vi improved"

  • Best score: 9
  • Best player score: 14
  • Position: #537 / 683
  • Number of attempts: 2
Basic renumbering - 5430 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 13
  • Position: #284 / 1227
  • Number of attempts: 8
Vice versa - 7520 entries

Little role switching.

  • Best score: 12
  • Best player score: 15
  • Position: #948 / 2043
  • Number of attempts: 2
Collect List - 4178 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 13
  • Position: #569 / 1166
  • Number of attempts: 2
Space out the alphabet - 1590 entries

Put 3 spaces between adjacent letters.

  • Best score: 15
  • Best player score: 21
  • Position: #282 / 433
  • Number of attempts: 1
I forgot quotes - 15728 entries

Oops.

  • Best score: 10
  • Best player score: 14
  • Position: #1718 / 4114
  • Number of attempts: 3
Count both ways - 957 entries

Right AND down.

  • Best score: 13
  • Best player score: 13
  • Position: #53 / 340
  • Number of attempts: 6
Gray area - 698 entries

It's a golf metaphor or something.

  • Best score: 11
  • Best player score: 14
  • Position: #194 / 259
  • Number of attempts: 3
Going underground.... - 315 entries

Simple reformatting: in this case changing from the format London underground supplies its customers with, to the format that Google Calendar likes...

  • Best score: 22
  • Best player score: 33
  • Position: #91 / 122
  • Number of attempts: 1
A HAPPY NEW YEAR 2014 ! - 10533 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 11
  • Position: #517 / 3637
  • Number of attempts: 5
Words in parens - 12736 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 15
  • Position: #1290 / 3919
  • Number of attempts: 3
switch variable - 4917 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 15
  • Position: #1466 / 1701
  • Number of attempts: 1
Simple text editing with Vim - 11624 entries

Make the pairs of lines match up by making each second line same as first

  • Best score: 13
  • Best player score: 19
  • Position: #2511 / 3410
  • Number of attempts: 2
Reformat/Refactor a Golfer Class - 6004 entries

A simple case of removing unneeded code and fixing broken indentation.

  • Best score: 32
  • Best player score: 52
  • Position: #1285 / 1480
  • Number of attempts: 1
Felix Boers
Twitter:

entered into 22 challenges

contributed 0 challenges