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 - 5485 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
convert yml into java pojo field - 639 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
Split line with dots - 1826 entries

This line is too long, split it.

  • Best score: 15
  • Best player score: 23
  • Number of attempts: 2
Words in parens - 11011 entries

We should all ace this, right?

  • Best score: 14
  • Best player score: 14
  • Number of attempts: 6
Simple text editing with Vim - 10388 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
Hash staircase - 25 entries

Can you use a strategy to come up with this pattern?

  • Best score: 21
  • Best player score: 21
  • Number of attempts: 4
One number per line - 12718 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 14
  • Number of attempts: 2
Simple, Practical, and Common - 24959 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: 6
Increment each number - 464 entries

Increment each number individually by one

  • Best score: 15
  • Best player score: 15
  • Number of attempts: 4
Applying same text modification in several lines - 1626 entries

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

  • Best score: 13
  • Best player score: 13
  • Number of attempts: 5
The meaning - 498 entries

Numbers are fun!

  • Best score: 5
  • Best player score: 5
  • Number of attempts: 2
change parenthesis - 60 entries

change the pair of braces into a pair of parentheses

  • Best score: 9
  • Best player score: 9
  • Number of attempts: 4
A HAPPY NEW YEAR 2014 ! - 9487 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 12
  • Number of attempts: 3
Swap values inside brackets - 1449 entries

Easy challenge.

  • Best score: 14
  • Best player score: 14
  • Number of attempts: 9
Copy three lines - 2037 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- - 2570 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 14
  • Number of attempts: 7
Add semicolons - 1422 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 4
remove lines containing the word "reader" - 1549 entries

easy stuff

  • Best score: 9
  • Best player score: 10
  • Number of attempts: 1
Ruby 1.9 compat - 557 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
Mess in revision history - 976 entries

Help Joe clean up what Steve has cobbled.

  • Best score: 17
  • Best player score: 21
  • Number of attempts: 5
Box it - 2882 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 21
  • Number of attempts: 8
Cool or not? - 449 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 - 391 entries

Clean and group.

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

The team names are misspelled.

  • Best score: 16
  • Best player score: 17
  • Number of attempts: 1
Vim tetris - 338 entries

Vim can play tetris too!

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

Just enjoy building "a" floors...

  • Best score: 22
  • Best player score: 22
  • Number of attempts: 3
serent
Twitter:

entered into 27 challenges

contributed 0 challenges