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

type the first 100 lines of the fizzbuzz problem

  • Best score: 44
  • Best player score: 102
  • Position: #138 / 169
  • Number of attempts: 1
Rural Post - 4567 entries

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

  • Best score: 9
  • Best player score: 11
  • Position: #513 / 1114
  • Number of attempts: 5
Simple, Practical, and Common - 33787 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: #3415 / 7454
  • Number of attempts: 2
prepend * to every non-blank line - 6358 entries

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

  • Best score: 10
  • Best player score: 15
  • Position: #978 / 1551
  • Number of attempts: 2
Add semicolons - 10899 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Position: #1607 / 3078
  • Number of attempts: 2
Box it - 7954 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 23
  • Position: #782 / 1886
  • Number of attempts: 3
Subtraction - 180 entries

Solve the equations.

  • Best score: 18
  • Best player score: 41
  • Position: #59 / 62
  • Number of attempts: 1
Neither Fizz nor Buzz - 257 entries

Not your regular increment macro! The gaps are tricky.

  • Best score: 13
  • Best player score: 22
  • Position: #87 / 104
  • Number of attempts: 2
Do you demand a shrubbery? - 1164 entries

Use :redir and crush the emacsgolfers.

  • Best score: 15
  • Best player score: 16
  • Position: #82 / 301
  • Number of attempts: 5
Don't know what this is - 2024 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: #420 / 586
  • Number of attempts: 1
Where should I put the Newline? - 883 entries

Help me put the newline.

  • Best score: 7
  • Best player score: 8
  • Position: #280 / 438
  • Number of attempts: 1
A HAPPY NEW YEAR 2014 ! - 10699 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 12
  • Position: #1850 / 3695
  • Number of attempts: 1
Words in parens - 12975 entries

We should all ace this, right?

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

entered into 13 challenges

contributed 0 challenges