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

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

  • Best score: 32
  • Best player score: 39
  • Number of attempts: 6
Split the words - 334 entries

Add the spaces manually if you must, but if you use Vim's spell checking feature wisely, I think you'll save a LARGE number of strokes.

  • Best score: 18
  • Best player score: 38
  • Number of attempts: 3
Ruby 1.9 compat - 556 entries

Remember when Ruby supported `when <expr> :`? Well, it doesn't in 1.9, so let's make sure we use `then`, without ruining our lovely new hash syntax!

  • Best score: 14
  • Best player score: 15
  • Number of attempts: 5
Swap values inside brackets - 1325 entries

Easy challenge.

  • Best score: 2
  • Best player score: 14
  • Number of attempts: 9
A HAPPY NEW YEAR 2014 ! - 9368 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 12
  • Number of attempts: 3
Copy three lines - 1983 entries

If the site is up (by some miracle), make the text under every header identical.

  • Best score: 13
  • Best player score: 17
  • Number of attempts: 6
-a-b-c- - 2530 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 14
  • Number of attempts: 7
Words in parens - 10831 entries

We should all ace this, right?

  • Best score: 14
  • Best player score: 14
  • Number of attempts: 6
Box it - 1825 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 21
  • Number of attempts: 8
Mess in revision history - 950 entries

Help Joe clean up what Steve has cobbled.

  • Best score: 17
  • Best player score: 21
  • Number of attempts: 5
Simple text editing with Vim - 10275 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
The meaning - 495 entries

Numbers are fun!

  • Best score: 5
  • Best player score: 5
  • Number of attempts: 2
One number per line - 12107 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 14
  • Number of attempts: 2
Applying same text modification in several lines - 1456 entries

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

  • Best score: 4
  • Best player score: 13
  • Number of attempts: 5
remove lines containing the word "reader" - 1259 entries

easy stuff

  • Best score: 9
  • Best player score: 10
  • Number of attempts: 1
Cool or not? - 369 entries

abc trying to be cool or not...

  • Best score: 15
  • Best player score: 15
  • Number of attempts: 4
Two pairs of cluster of letters creates word - 315 entries

Clean and group.

  • Best score: 17
  • Best player score: 17
  • Number of attempts: 7
Team names - 1392 entries

The team names are misspelled.

  • Best score: 13
  • Best player score: 17
  • Number of attempts: 1
convert yml into java pojo field - 620 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: 29
  • Number of attempts: 2
Vim tetris - 338 entries

Vim can play tetris too!

  • Best score: 21
  • Best player score: 21
  • Number of attempts: 9
Build a six - 173 entries

Just enjoy building "a" floors...

  • Best score: 22
  • Best player score: 22
  • Number of attempts: 3
Increment each number - 392 entries

Increment each number individually by one

  • Best score: 6
  • Best player score: 15
  • Number of attempts: 4
Simple, Practical, and Common - 23966 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: 2
  • Best player score: 22
  • Number of attempts: 6
Split line with dots - 1794 entries

This line is too long, split it.

  • Best score: 15
  • Best player score: 23
  • Number of attempts: 2
serent
Twitter:

entered into 24 challenges

contributed 0 challenges