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

Find fix point of cos - 1199 entries

Write a function to find the fix point of cos. It is not a good code; It is just to use vim. Inspired by the excellent https://mvanier.livejournal.com/2897.html about the Y combinator.

  • Best score: 14
  • Best player score: 17
  • Position: #252 / 363
  • Number of attempts: 2
HS exam question - 1522 entries

Convert the data to a python dictionary

  • Best score: 47
  • Best player score: 78
  • Position: #245 / 403
  • Number of attempts: 2
Substraction (bis) - 582 entries

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

  • Best score: 21
  • Best player score: 36
  • Position: #79 / 110
  • Number of attempts: 10
Changing around text with citations - 324 entries

Based off of something I saw on reddit

  • Best score: 28
  • Best player score: 48
  • Position: #74 / 90
  • Number of attempts: 1
Poorly indented Python comments - 1274 entries

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

  • Best score: 15
  • Best player score: 29
  • Position: #110 / 212
  • Number of attempts: 5
Many duplicates - 1333 entries

Quick and easy

  • Best score: 7
  • Best player score: 8
  • Position: #172 / 436
  • Number of attempts: 3
delete swap - 1639 entries

delete all swap

  • Best score: 5
  • Best player score: 9
  • Position: #398 / 512
  • Number of attempts: 6
Fix the shell script! - 2421 entries

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 29
  • Position: #193 / 562
  • Number of attempts: 10
hello-world-vimgolf - 2472 entries

Simple number generation

  • Best score: 10
  • Best player score: 12
  • Position: #439 / 699
  • Number of attempts: 3
Reordering Lorem Ipsum - 265 entries

Who even sorted this?

  • Best score: 13
  • Best player score: 138
  • Position: #58 / 64
  • Number of attempts: 2
Plotting some variables in python - 1604 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: #100 / 344
  • Number of attempts: 9
Modernise code - 1368 entries

Modernise and clean up some C++ code.

  • Best score: 34
  • Best player score: 34
  • Position: #57 / 316
  • Number of attempts: 8
Staircase - 146 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: #20 / 33
  • Number of attempts: 5
HS Final exam vimgolf - 892 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: #79 / 234
  • Number of attempts: 4
bastien batardier
Twitter:

entered into 14 challenges

contributed 0 challenges