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

Plotting some variables in python - 1172 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: 51
  • Position: #140 / 247
  • Number of attempts: 4
Making 3 line function a one liner. - 163 entries

Simple challenge for frequent action while programming.

  • Best score: 4
  • Best player score: 4
  • Position: #41 / 106
  • Number of attempts: 2
Modernise code - 822 entries

Modernise and clean up some C++ code.

  • Best score: 34
  • Best player score: 68
  • Position: #174 / 190
  • Number of attempts: 2
Simple, Practical, and Common - 32904 entries

Simple things we do all the time should be able to be done with very few keystrokes, but sometimes I find something I need to do makes me go, "There MUST be a better way." This challenge is just a simple movement and entering text at a certain place.

  • Best score: 22
  • Best player score: 27
  • Position: #3876 / 7270
  • Number of attempts: 4
One number per line - 18377 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 24
  • Position: #3156 / 3787
  • Number of attempts: 3
Swap values inside brackets - 2431 entries

Easy challenge.

  • Best score: 14
  • Best player score: 24
  • Position: #469 / 560
  • Number of attempts: 3
Applying same text modification in several lines - 2748 entries

Remove identical text at the beginning of several lines and the closing parenthesis.

  • Best score: 12
  • Best player score: 25
  • Position: #731 / 815
  • Number of attempts: 1
Wrap the text of an email message to 79 characters - 576 entries

You're replying to an email with silly long lines. Clean them up.

  • Best score: 5
  • Best player score: 5
  • Position: #240 / 352
  • Number of attempts: 1
Search and Replace 0 - 4651 entries

Replace every instance of 'aaa' with 'xaaax'.

  • Best score: 12
  • Best player score: 16
  • Position: #1160 / 1541
  • Number of attempts: 2
Just the middle - 11136 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 9
  • Position: #3501 / 4112
  • Number of attempts: 4
I forgot quotes - 15728 entries

Oops.

  • Best score: 10
  • Best player score: 21
  • Position: #3682 / 4114
  • Number of attempts: 3
A HAPPY NEW YEAR 2014 ! - 10533 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 12
  • Position: #2324 / 3637
  • Number of attempts: 3
Words in parens - 12736 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 18
  • Position: #2940 / 3919
  • Number of attempts: 2
Sort the cardinal numbers - 280 entries

Maybe a simple challenge.

  • Best score: 12
  • Best player score: 12
  • Position: #44 / 141
  • Number of attempts: 3
Case preserving word replacement - 436 entries

Half way through my project, my people turned into dogs. Now I have to change everything in my source.

  • Best score: 19
  • Best player score: 39
  • Position: #172 / 175
  • Number of attempts: 1
A Simple One - 923 entries

Here is a very simple one - just to illustrate/introduce a vim feature that some people seem to miss...

  • Best score: 9
  • Best player score: 9
  • Position: #479 / 611
  • Number of attempts: 1
Reverse Simple Deletion - 758 entries

You did the simple deletion, now reverse it.

  • Best score: 11
  • Best player score: 15
  • Position: #401 / 429
  • Number of attempts: 3
Increment, increment, increment.... - 567 entries

Vim likes macros

  • Best score: 10
  • Best player score: 12
  • Position: #321 / 370
  • Number of attempts: 2
Context Insensitive completion 1 - 427 entries

Finish writing this simple Python HTTP server.

  • Best score: 18
  • Best player score: 39
  • Position: #214 / 222
  • Number of attempts: 1
Simple text editing with Vim - 11624 entries

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

  • Best score: 13
  • Best player score: 22
  • Position: #2758 / 3410
  • Number of attempts: 2
editor3D
Twitter:

online editor HTML/CSS/JS editor3d

entered into 20 challenges

contributed 0 challenges