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

Readable Rubyhash - 232 entries

Rubyists talk about being cutting edge but how many are using 1.9 in production? Time to convert those verbose 1.8 hashes in to symbolic, succinct 1.9 beauties!

  • Best score: 23
  • Best player score: 31
  • Number of attempts: 2
Format java properties - 63 entries

Format java properties to a different format. The value which is the string following the first '=' cannot & should not change. All periods in the key get replaced with an underscore "_" and get a prefix of "b_".

  • Best score: 27
  • Best player score: 44
  • Number of attempts: 3
Simple, Practical, and Common - 28817 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: 10
Swap values inside brackets - 2044 entries

Easy challenge.

  • Best score: 14
  • Best player score: 21
  • Number of attempts: 2
I forgot quotes - 13734 entries

Oops.

  • Best score: 10
  • Best player score: 15
  • Number of attempts: 1
Combines all items - 250 entries

For each line that starts with the same number I want to combine its contents

  • Best score: 9
  • Best player score: 9
  • Number of attempts: 2
Com(m)a Trouble - 2536 entries

Someone was real stupid when placing his commas. Can you fix it?

  • Best score: 12
  • Best player score: 14
  • Number of attempts: 9
Fiddle percentages into real numbers - 756 entries

Get rid of the '%' symbols and shift the decimal place. This is the easier version - all the columns line up.

  • Best score: 13
  • Best player score: 14
  • Number of attempts: 6
One number per line - 15558 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 18
  • Number of attempts: 8
Applying same text modification in several lines - 2281 entries

Remove identical text at the beginning of several lines and the closing parenthesis.

  • Best score: 13
  • Best player score: 14
  • Number of attempts: 7
Reuben Narkwo
Twitter:

entered into 10 challenges

contributed 0 challenges