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

Visual block training - 366 entries

You see the input. You see the output. Go.

  • Best score: 18
  • Best player score: 52
  • Position: #54 / 79
  • Number of attempts: 2
hello-world-vimgolf - 1436 entries

Simple number generation

  • Best score: 10
  • Best player score: 10
  • Position: #149 / 412
  • Number of attempts: 3
Fill in the chess board - 496 entries

Fill in the name of each square using its file (a-h) and rank (1-8).

  • Best score: 19
  • Best player score: 48
  • Position: #81 / 105
  • Number of attempts: 3
Learn to ask for :help - 377 entries

Learn to use the help to reduce your strokes...

  • Best score: 19
  • Best player score: 44
  • Position: #71 / 84
  • Number of attempts: 1
Plotting some variables in python - 1135 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: 47
  • Position: #118 / 239
  • Number of attempts: 2
swap number pairs - 1438 entries

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

  • Best score: 16
  • Best player score: 51
  • Position: #251 / 278
  • Number of attempts: 1
Python: Def to Lambda - 359 entries

LAMBDA!!!

  • Best score: 19
  • Best player score: 20
  • Position: #83 / 120
  • Number of attempts: 1
Turn the x - 250 entries

Turn the x to a +

  • Best score: 19
  • Best player score: 29
  • Position: #62 / 65
  • Number of attempts: 1
Yo To Hello - 1043 entries

Simply Turn Yo To Hello

  • Best score: 10
  • Best player score: 232
  • Position: #478 / 478
  • Number of attempts: 1
Simple, Practical, and Common - 32892 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: 24
  • Position: #3043 / 7268
  • Number of attempts: 6
Hogwarts Email Sorting - 827 entries

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

  • Best score: 20
  • Best player score: 52
  • Position: #231 / 236
  • Number of attempts: 1
Simple Maths - 36 entries

Not much to say, discover by yourself!

  • Best score: 26
  • Best player score: 1000
  • Position: #24 / 24
  • Number of attempts: 1
Switch function arguments - 1971 entries

How to switch two arguments of a function.

  • Best score: 11
  • Best player score: 14
  • Position: #488 / 625
  • Number of attempts: 1
imports alignment (python) - 639 entries

Align as one import per line.

  • Best score: 17
  • Best player score: 45
  • Position: #182 / 190
  • Number of attempts: 1

Contributed Challenges

Visual block training - 366 entries

You see the input. You see the output. Go.

math is what I hate
Twitter:

entered into 14 challenges

contributed 1 challenges