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

Fizzbuzz - 612 entries

type the first 100 lines of the fizzbuzz problem

  • Best score: 44
  • Best player score: 102
  • Position: #140 / 171
  • Number of attempts: 1
Rural Post - 4593 entries

Simple challenge to remove all but the post code on each line

  • Best score: 9
  • Best player score: 11
  • Position: #517 / 1120
  • Number of attempts: 5
Simple, Practical, and Common - 33964 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: 25
  • Position: #3428 / 7500
  • Number of attempts: 2
prepend * to every non-blank line - 6388 entries

Prepend an asterisk to every non-blank line in the input file.

  • Best score: 10
  • Best player score: 15
  • Position: #983 / 1559
  • Number of attempts: 2
Add semicolons - 10932 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Position: #1614 / 3091
  • Number of attempts: 2
Box it - 7997 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 23
  • Position: #784 / 1897
  • Number of attempts: 3
Subtraction - 201 entries

Solve the equations.

  • Best score: 18
  • Best player score: 41
  • Position: #60 / 63
  • Number of attempts: 1
Neither Fizz nor Buzz - 266 entries

Not your regular increment macro! The gaps are tricky.

  • Best score: 13
  • Best player score: 22
  • Position: #88 / 105
  • Number of attempts: 2
Do you demand a shrubbery? - 1184 entries

Use :redir and crush the emacsgolfers.

  • Best score: 15
  • Best player score: 16
  • Position: #83 / 305
  • Number of attempts: 5
Don't know what this is - 2040 entries

Replace contents of brackets with matching number of spaces. Don't ask what the format's supposed to be.

  • Best score: 11
  • Best player score: 16
  • Position: #423 / 590
  • Number of attempts: 1
Where should I put the Newline? - 896 entries

Help me put the newline.

  • Best score: 7
  • Best player score: 8
  • Position: #281 / 444
  • Number of attempts: 1
A HAPPY NEW YEAR 2014 ! - 10748 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 12
  • Position: #1859 / 3711
  • Number of attempts: 1
Words in parens - 13028 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 16
  • Position: #2144 / 3984
  • Number of attempts: 1
Florian Duraffourg
Twitter:

entered into 13 challenges

contributed 0 challenges