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

Learn to ask for :help - 280 entries

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

  • Best score: 19
  • Best player score: 26
  • Position: #28 / 65
  • Number of attempts: 3
Plotting some variables in python - 888 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: 39
  • Position: #60 / 178
  • Number of attempts: 3
Transpose a python matrix - 430 entries

Rotate the matrix in 90 degrees.

  • Best score: 23
  • Best player score: 79
  • Position: #75 / 87
  • Number of attempts: 2
Inverting Lines - 1122 entries

A simple challenge to invert all lines, except the first.

  • Best score: 10
  • Best player score: 10
  • Position: #85 / 312
  • Number of attempts: 4
Generate a very basic Python constructor - 226 entries

I actually needed to do this myself, so I look forward to learning how.

  • Best score: 38
  • Best player score: 61
  • Position: #48 / 57
  • Number of attempts: 7
Rural Post - 3894 entries

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

  • Best score: 9
  • Best player score: 13
  • Position: #565 / 964
  • Number of attempts: 5
Satisfy the go linter - 1811 entries

You just came up with this briliant go vars package. But dang, you forgot to add comments to the exported variables. Can you add a comment over each variable with a TODO-placeholder?

  • Best score: 20
  • Best player score: 24
  • Position: #183 / 363
  • Number of attempts: 8
Multiline to Single Line - 410 entries

Convert a multiline, indented file to a single line with no whitespace

  • Best score: 5
  • Best player score: 5
  • Position: #139 / 196
  • Number of attempts: 3
Yo To Hello - 1004 entries

Simply Turn Yo To Hello

  • Best score: 10
  • Best player score: 12
  • Position: #428 / 463
  • Number of attempts: 1
Search and Replace 0 - 4610 entries

Replace every instance of 'aaa' with 'xaaax'.

  • Best score: 12
  • Best player score: 14
  • Position: #1001 / 1528
  • Number of attempts: 3
comments galore - 967 entries

Basic comment reformatting

  • Best score: 10
  • Best player score: 14
  • Position: #383 / 409
  • Number of attempts: 2

Contributed Challenges

Learn to ask for :help - 280 entries

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

Ethan Rietz
Twitter:

entered into 11 challenges

contributed 1 challenges