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

HS exam question - 790 entries

Convert the data to a python dictionary

  • Best score: 47
  • Best player score: 78
  • Position: #123 / 204
  • Number of attempts: 2
Substraction (bis) - 300 entries

Solve the equations (adapted from the original @Caek_'s challenge).

  • Best score: 22
  • Best player score: 36
  • Position: #48 / 67
  • Number of attempts: 10
Changing around text with citations - 162 entries

Based off of something I saw on reddit

  • Best score: 28
  • Best player score: 48
  • Position: #40 / 47
  • Number of attempts: 1
Poorly indented Python comments - 747 entries

Fix the alignment of some Python comments as quickly as possible.

  • Best score: 15
  • Best player score: 29
  • Position: #73 / 142
  • Number of attempts: 5
Many duplicates - 610 entries

Quick and easy

  • Best score: 7
  • Best player score: 8
  • Position: #150 / 212
  • Number of attempts: 3
delete swap - 740 entries

delete all swap

  • Best score: 5
  • Best player score: 9
  • Position: #195 / 253
  • Number of attempts: 6
Fix the shell script! - 1402 entries

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 29
  • Position: #124 / 347
  • Number of attempts: 10
hello-world-vimgolf - 1762 entries

Simple number generation

  • Best score: 10
  • Best player score: 12
  • Position: #320 / 507
  • Number of attempts: 3
Reordering Lorem Ipsum - 210 entries

Who even sorted this?

  • Best score: 13
  • Best player score: 138
  • Position: #48 / 51
  • Number of attempts: 2
Plotting some variables in python - 1269 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: 37
  • Position: #80 / 270
  • Number of attempts: 9
Modernise code - 999 entries

Modernise and clean up some C++ code.

  • Best score: 34
  • Best player score: 34
  • Position: #57 / 225
  • Number of attempts: 8
Staircase - 81 entries

Going downstairs, while singing the alphabet song. Some vb practice to us all. Would it be much easier to make it go from left to right instead?

  • Best score: 21
  • Best player score: 34
  • Position: #14 / 24
  • Number of attempts: 5
HS Final exam vimgolf - 746 entries

Change the initial file to a single line containing all names comma-separated with numbers inside parentheses.

  • Best score: 21
  • Best player score: 22
  • Position: #70 / 201
  • Number of attempts: 4
bastien batardier
Twitter:

entered into 13 challenges

contributed 0 challenges