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

type the first 100 lines of the fizzbuzz problem

  • Best score: 44
  • Best player score: 102
  • Position: #141 / 172
  • Number of attempts: 1
Rural Post - 4596 entries

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

  • Best score: 9
  • Best player score: 11
  • Position: #519 / 1122
  • Number of attempts: 5
Simple, Practical, and Common - 33988 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: #3429 / 7509
  • Number of attempts: 2
prepend * to every non-blank line - 6390 entries

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

  • Best score: 10
  • Best player score: 15
  • Position: #984 / 1560
  • Number of attempts: 2
Add semicolons - 10954 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Position: #1616 / 3097
  • Number of attempts: 2
Box it - 7999 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 23
  • Position: #784 / 1899
  • 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 - 270 entries

Not your regular increment macro! The gaps are tricky.

  • Best score: 13
  • Best player score: 22
  • Position: #89 / 106
  • Number of attempts: 2
Do you demand a shrubbery? - 1187 entries

Use :redir and crush the emacsgolfers.

  • Best score: 15
  • Best player score: 16
  • Position: #83 / 307
  • Number of attempts: 5
Don't know what this is - 2048 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: #425 / 592
  • Number of attempts: 1
Where should I put the Newline? - 898 entries

Help me put the newline.

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

A HAPPY NEW YEAR 2014 !

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

We should all ace this, right?

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

entered into 13 challenges

contributed 0 challenges