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

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

  • Best score: 19
  • Best player score: 26
  • Position: #41 / 102
  • Number of attempts: 3
Plotting some variables in python - 1264 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: #84 / 268
  • Number of attempts: 3
Transpose a python matrix - 629 entries

Rotate the matrix in 90 degrees.

  • Best score: 23
  • Best player score: 79
  • Position: #97 / 112
  • Number of attempts: 2
Inverting Lines - 1436 entries

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

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

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

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

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

  • Best score: 9
  • Best player score: 13
  • Position: #597 / 1029
  • Number of attempts: 5
Satisfy the go linter - 2031 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: #211 / 412
  • Number of attempts: 8
Multiline to Single Line - 552 entries

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

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

Simply Turn Yo To Hello

  • Best score: 10
  • Best player score: 12
  • Position: #450 / 489
  • Number of attempts: 1
Search and Replace 0 - 4722 entries

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

  • Best score: 12
  • Best player score: 14
  • Position: #1027 / 1562
  • Number of attempts: 3
comments galore - 982 entries

Basic comment reformatting

  • Best score: 10
  • Best player score: 14
  • Position: #388 / 414
  • Number of attempts: 2

Contributed Challenges

Learn to ask for :help - 447 entries

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

Ethan Rietz
Twitter:

entered into 11 challenges

contributed 1 challenges