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 - 1016 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: #209 / 296
  • Number of attempts: 2
HS exam question - 1413 entries

Convert the data to a python dictionary

  • Best score: 47
  • Best player score: 78
  • Position: #233 / 381
  • Number of attempts: 2
Substraction (bis) - 558 entries

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

  • Best score: 21
  • Best player score: 36
  • Position: #76 / 104
  • Number of attempts: 10
Changing around text with citations - 302 entries

Based off of something I saw on reddit

  • Best score: 28
  • Best player score: 48
  • Position: #70 / 85
  • Number of attempts: 1
Poorly indented Python comments - 1145 entries

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

  • Best score: 15
  • Best player score: 29
  • Position: #102 / 197
  • Number of attempts: 5
Many duplicates - 1189 entries

Quick and easy

  • Best score: 7
  • Best player score: 8
  • Position: #168 / 387
  • Number of attempts: 3
delete swap - 1454 entries

delete all swap

  • Best score: 5
  • Best player score: 9
  • Position: #357 / 461
  • Number of attempts: 6
Fix the shell script! - 2048 entries

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 29
  • Position: #167 / 491
  • Number of attempts: 10
hello-world-vimgolf - 2294 entries

Simple number generation

  • Best score: 10
  • Best player score: 12
  • Position: #405 / 648
  • Number of attempts: 3
Reordering Lorem Ipsum - 231 entries

Who even sorted this?

  • Best score: 13
  • Best player score: 138
  • Position: #53 / 58
  • Number of attempts: 2
Plotting some variables in python - 1539 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: #96 / 327
  • Number of attempts: 9
Modernise code - 1315 entries

Modernise and clean up some C++ code.

  • Best score: 34
  • Best player score: 34
  • Position: #57 / 303
  • Number of attempts: 8
Staircase - 137 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: #18 / 31
  • Number of attempts: 5
HS Final exam vimgolf - 852 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: #76 / 224
  • Number of attempts: 4
bastien batardier
Twitter:

entered into 14 challenges

contributed 0 challenges