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

Convert the data to a python dictionary

  • Best score: 47
  • Best player score: 83
  • Position: #208 / 309
  • Number of attempts: 2
Plotting some variables in python - 1404 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: 60
  • Position: #223 / 296
  • Number of attempts: 1
simple replacements - 1264 entries

The goal is to see the replacement commands in action.

  • Best score: 19
  • Best player score: 25
  • Position: #195 / 283
  • Number of attempts: 2
Inverting Lines - 1562 entries

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

  • Best score: 10
  • Best player score: 14
  • Position: #300 / 423
  • Number of attempts: 2
RUST match with enum for Coin - 168 entries

RUST match with enum for Coin rusty practice on vimgolf

  • Best score: 84
  • Best player score: 104
  • Position: #20 / 46
  • Number of attempts: 4
Making 3 line function a one liner. - 237 entries

Simple challenge for frequent action while programming.

  • Best score: 4
  • Best player score: 4
  • Position: #45 / 157
  • Number of attempts: 2
Modernise code - 1103 entries

Modernise and clean up some C++ code.

  • Best score: 34
  • Best player score: 59
  • Position: #228 / 261
  • Number of attempts: 3
Shebangs for all - 1823 entries

We've all seen or used a shebang once or twice. Ditch the specific paths and leave just a dynamic Ruby and Python bath behind.

  • Best score: 11
  • Best player score: 16
  • Position: #312 / 482
  • Number of attempts: 6
Reformat most common surnames - 613 entries

Reformat copy-pasted table into a list of the most common surnames

  • Best score: 23
  • Best player score: 34
  • Position: #128 / 193
  • Number of attempts: 1
Change the content of a string - 1416 entries

This docstring is a complete lie. Fix it.

  • Best score: 22
  • Best player score: 27
  • Position: #455 / 540
  • Number of attempts: 1
Add fold markers to a .c file - 524 entries

Fold markers can make it easier to navigate source code. Add them to this .c file.

  • Best score: 30
  • Best player score: 36
  • Position: #97 / 164
  • Number of attempts: 4
Simple text editing with Vim - 11897 entries

Make the pairs of lines match up by making each second line same as first

  • Best score: 13
  • Best player score: 19
  • Position: #2595 / 3482
  • Number of attempts: 1
Reformat/Refactor a Golfer Class - 6251 entries

A simple case of removing unneeded code and fixing broken indentation.

  • Best score: 32
  • Best player score: 46
  • Position: #1136 / 1544
  • Number of attempts: 4
Rick de chez Gnous
Twitter:

Admin @GnousEU & développeur sous VIM. Je travaille sur Gentoo et Void avec Bedrock. PP: Kolibry; Bannière: @Flying_Hyena. #ISupportFreeSoftware

entered into 13 challenges

contributed 0 challenges