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

Reformat/Refactor a Golfer Class - 5698 entries

A simple case of removing unneeded code and fixing broken indentation.

  • Best score: 32
  • Best player score: 33
  • Number of attempts: 3
Mirrored text - 154 entries

backward and forward, and long enough to be challenging

  • Best score: 14
  • Best player score: 16
  • Number of attempts: 1
Basic renumbering - 5193 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 18
  • Number of attempts: 4
A HAPPY NEW YEAR 2014 ! - 10184 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 12
  • Number of attempts: 1
Simple, Practical, and Common - 30760 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: 22
  • Number of attempts: 5
Split line with dots - 2025 entries

This line is too long, split it.

  • Best score: 15
  • Best player score: 16
  • Number of attempts: 2
Alsa configuration - 478 entries

I'm tweaking my ~/.asoundrc file!

  • Best score: 22
  • Best player score: 25
  • Number of attempts: 4
Words in parens - 12152 entries

We should all ace this, right?

  • Best score: 14
  • Best player score: 15
  • Number of attempts: 6
comments galore - 924 entries

Basic comment reformatting

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 2
Inner hyphens - 114 entries

Yet another hyphen challenge. Adding 5 hyphens to a file shouldn't be too hard.

  • Best score: 11
  • Best player score: 13
  • Number of attempts: 1
Collect List - 3962 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 12
  • Number of attempts: 2
Swap values - 4229 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 12
  • Number of attempts: 4
Search and Replace 0 - 4450 entries

Replace every instance of 'aaa' with 'xaaax'.

  • Best score: 12
  • Best player score: 13
  • Number of attempts: 4
One number per line - 16908 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 17
  • Number of attempts: 4
lipsum lines - 245 entries

Convert a quoted block of text into strings in a list.

  • Best score: 28
  • Best player score: 32
  • Number of attempts: 2
Vice versa - 6999 entries

Little role switching.

  • Best score: 12
  • Best player score: 12
  • Number of attempts: 5
Just the middle - 10565 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Number of attempts: 2
I forgot quotes - 14691 entries

Oops.

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 5
vic ©
Twitter:

1wanna#infosec

entered into 18 challenges

contributed 0 challenges