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 - 1684 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: #118 / 353
  • Number of attempts: 3
Simple, Practical, and Common - 33965 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: #2025 / 7501
  • Number of attempts: 9
Hogwarts Email Sorting - 948 entries

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

  • Best score: 20
  • Best player score: 22
  • Position: #113 / 268
  • Number of attempts: 2
One number per line - 18889 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 18
  • Position: #1533 / 3898
  • Number of attempts: 5
V to the i - 4853 entries

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

  • Best score: 7
  • Best player score: 9
  • Position: #1552 / 1909
  • Number of attempts: 1
Add semicolons - 10932 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Position: #1240 / 3091
  • Number of attempts: 2
remove lines containing the word "reader" - 3643 entries

easy stuff

  • Best score: 9
  • Best player score: 9
  • Position: #345 / 1181
  • Number of attempts: 2
Box it - 7997 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 22
  • Position: #524 / 1897
  • Number of attempts: 4
That hyphen - 2624 entries

"vim vi improved"

  • Best score: 9
  • Best player score: 14
  • Position: #552 / 708
  • Number of attempts: 2
Basic renumbering - 5731 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 13
  • Position: #313 / 1277
  • Number of attempts: 8
Vice versa - 7997 entries

Little role switching.

  • Best score: 12
  • Best player score: 15
  • Position: #992 / 2152
  • Number of attempts: 2
Collect List - 4332 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 13
  • Position: #587 / 1196
  • Number of attempts: 2
Space out the alphabet - 1687 entries

Put 3 spaces between adjacent letters.

  • Best score: 15
  • Best player score: 21
  • Position: #292 / 452
  • Number of attempts: 1
I forgot quotes - 16176 entries

Oops.

  • Best score: 10
  • Best player score: 14
  • Position: #1758 / 4216
  • Number of attempts: 3
Count both ways - 1030 entries

Right AND down.

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

It's a golf metaphor or something.

  • Best score: 11
  • Best player score: 14
  • Position: #203 / 273
  • Number of attempts: 3
Going underground.... - 376 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: #98 / 130
  • Number of attempts: 1
A HAPPY NEW YEAR 2014 ! - 10748 entries

A HAPPY NEW YEAR 2014 !

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

We should all ace this, right?

  • Best score: 13
  • Best player score: 15
  • Position: #1326 / 3984
  • Number of attempts: 3
switch variable - 5110 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 15
  • Position: #1509 / 1758
  • Number of attempts: 1
Simple text editing with Vim - 13512 entries

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

  • Best score: 13
  • Best player score: 19
  • Position: #2818 / 3875
  • Number of attempts: 2
Reformat/Refactor a Golfer Class - 7579 entries

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

  • Best score: 7
  • Best player score: 52
  • Position: #1525 / 1871
  • Number of attempts: 1
Felix Boers
Twitter:

entered into 22 challenges

contributed 0 challenges