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 - 1383 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: #283 / 405
  • Number of attempts: 2
HS exam question - 1578 entries

Convert the data to a python dictionary

  • Best score: 47
  • Best player score: 78
  • Position: #255 / 416
  • Number of attempts: 2
Substraction (bis) - 584 entries

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

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

Based off of something I saw on reddit

  • Best score: 28
  • Best player score: 48
  • Position: #76 / 93
  • Number of attempts: 1
Poorly indented Python comments - 1315 entries

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

  • Best score: 15
  • Best player score: 29
  • Position: #114 / 221
  • Number of attempts: 5
Many duplicates - 1443 entries

Quick and easy

  • Best score: 7
  • Best player score: 8
  • Position: #175 / 467
  • Number of attempts: 3
delete swap - 1773 entries

delete all swap

  • Best score: 5
  • Best player score: 9
  • Position: #427 / 549
  • Number of attempts: 6
Fix the shell script! - 2544 entries

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 29
  • Position: #196 / 589
  • Number of attempts: 10
hello-world-vimgolf - 2494 entries

Simple number generation

  • Best score: 10
  • Best player score: 12
  • Position: #446 / 706
  • Number of attempts: 3
Reordering Lorem Ipsum - 290 entries

Who even sorted this?

  • Best score: 13
  • Best player score: 138
  • Position: #60 / 66
  • Number of attempts: 2
Plotting some variables in python - 1660 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: #101 / 347
  • Number of attempts: 9
Modernise code - 1388 entries

Modernise and clean up some C++ code.

  • Best score: 34
  • Best player score: 34
  • Position: #57 / 319
  • Number of attempts: 8
Staircase - 149 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 / 34
  • Number of attempts: 5
HS Final exam vimgolf - 897 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: #80 / 236
  • Number of attempts: 4
bastien batardier
Twitter:

entered into 14 challenges

contributed 0 challenges