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

type the first 100 lines of the fizzbuzz problem

  • Best score: 47
  • Best player score: 102
  • Position: #112 / 136
  • Number of attempts: 1
Rural Post - 4290 entries

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

  • Best score: 9
  • Best player score: 11
  • Position: #474 / 1052
  • Number of attempts: 5
Simple, Practical, and Common - 33236 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: #3365 / 7330
  • Number of attempts: 2
prepend * to every non-blank line - 6141 entries

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

  • Best score: 10
  • Best player score: 15
  • Position: #946 / 1500
  • Number of attempts: 2
Add semicolons - 10744 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Position: #1595 / 3030
  • Number of attempts: 2
Box it - 7782 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 23
  • Position: #772 / 1853
  • Number of attempts: 3
Subtraction - 178 entries

Solve the equations.

  • Best score: 18
  • Best player score: 41
  • Position: #58 / 61
  • Number of attempts: 1
Neither Fizz nor Buzz - 226 entries

Not your regular increment macro! The gaps are tricky.

  • Best score: 13
  • Best player score: 22
  • Position: #83 / 99
  • Number of attempts: 2
Do you demand a shrubbery? - 1108 entries

Use :redir and crush the emacsgolfers.

  • Best score: 15
  • Best player score: 16
  • Position: #81 / 293
  • Number of attempts: 5
Don't know what this is - 1961 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: #413 / 576
  • Number of attempts: 1
Where should I put the Newline? - 857 entries

Help me put the newline.

  • Best score: 7
  • Best player score: 8
  • Position: #274 / 429
  • Number of attempts: 1
A HAPPY NEW YEAR 2014 ! - 10584 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 12
  • Position: #1827 / 3653
  • Number of attempts: 1
Words in parens - 12821 entries

We should all ace this, right?

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

entered into 13 challenges

contributed 0 challenges