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

Add semicolons - 9339 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 4
Do you demand a shrubbery? - 1049 entries

Use :redir and crush the emacsgolfers.

  • Best score: 8
  • Best player score: 16
  • Number of attempts: 2
Don't know what this is - 1884 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
  • Number of attempts: 2
prepend * to every non-blank line - 4870 entries

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

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 5
Neither Fizz nor Buzz - 205 entries

Not your regular increment macro! The gaps are tricky.

  • Best score: 13
  • Best player score: 21
  • Number of attempts: 1
Box it - 7115 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 21
  • Number of attempts: 9
Let's play some Ivmgolf - 976 entries

Oops, I spelled that wrong.

  • Best score: 7
  • Best player score: 7
  • Number of attempts: 1
Matthias Wolf
Twitter:

entered into 7 challenges

contributed 0 challenges