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

Create Leading Zeros - 192 entries

Create leading zeros only for id columns. Please use generic approach!

  • Best score: 23
  • Best player score: 63
  • Number of attempts: 4
Basic renumbering - 4626 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 39
  • Number of attempts: 1
Square numbers - 57 entries

Boring math puzzle.

  • Best score: 16
  • Best player score: 38
  • Number of attempts: 4
Vice versa - 5992 entries

Little role switching.

  • Best score: 12
  • Best player score: 27
  • Number of attempts: 3
It'ss tooo coold too typpe todaay - 198 entries

My hands are numb with cold. It's hard to type correctly.

  • Best score: 16
  • Best player score: 21
  • Number of attempts: 3
From argument to object - 1113 entries

This task typifies those programmers endure while coding. This C-family pseudocode needs a function argument to be repurposed as an object call. Simply search and replace? Repeat a pattern of edits?

  • Best score: 17
  • Best player score: 17
  • Number of attempts: 12
One number per line - 13042 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 16
  • Number of attempts: 14
I forgot quotes - 11964 entries

Oops.

  • Best score: 10
  • Best player score: 11
  • Number of attempts: 8
Swap values inside brackets - 1533 entries

Easy challenge.

  • Best score: 14
  • Best player score: 15
  • Number of attempts: 6
A HAPPY NEW YEAR 2014 ! - 9549 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 11
  • Number of attempts: 6
Simple, Practical, and Common - 25343 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: 12
Letter case trickery - 1443 entries

This file is in a downright esoteric format, consisting of hexadecimal numbers, non-hexadecimal keywords, and "Z" indicating end-of-line. Make the hexadecimal numbers lowercase.

  • Best score: 9
  • Best player score: 9
  • Number of attempts: 11
Collect List - 3533 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 12
  • Number of attempts: 14
convert yml into java pojo field - 665 entries

How fast vim can create fields for java pojo i.e class declaration referring to a (simple) yml file

  • Best score: 29
  • Best player score: 40
  • Number of attempts: 1
Team names - 1474 entries

The team names are misspelled.

  • Best score: 16
  • Best player score: 16
  • Number of attempts: 5
Swap values - 3587 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 12
  • Number of attempts: 8
remove all lines in first part - 149 entries

From the second part, remove all lines in the first part. It can be useful when you have done something from a long list, you want to know what is not done yet!

  • Best score: 13
  • Best player score: 14
  • Number of attempts: 9
Simple text editing with Vim - 10464 entries

Make the pairs of lines match up by making each second line same as first

  • Best score: 13
  • Best player score: 14
  • Number of attempts: 5
Just the middle - 9335 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Number of attempts: 3
Words in parens - 11107 entries

We should all ace this, right?

  • Best score: 14
  • Best player score: 14
  • Number of attempts: 11
Simon Ingelsson
Twitter:

Systems Administrator working in Stockholm Sweden.

entered into 20 challenges

contributed 0 challenges