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

Wrap the text of an email message to 79 characters - 512 entries

You're replying to an email with silly long lines. Clean them up.

  • Best score: 5
  • Best player score: 6
  • Number of attempts: 1
Reverse characters in a line - 601 entries

You have everything you need, just not in the right order. Mastermind would give you 26 white pegs.

  • Best score: 12
  • Best player score: 12
  • Number of attempts: 6
Maze path - 32 entries

Follow the given motions and mark your path with Xs. Attention: This maze is quite big (20x20), please set your terminal size to at least 82.

  • Best score: 25
  • Best player score: 26
  • Number of attempts: 8
add line and index - 45 entries

a missed line and index names need to be added

  • Best score: 44
  • Best player score: 45
  • Number of attempts: 3
Vice versa - 6850 entries

Little role switching.

  • Best score: 12
  • Best player score: 13
  • Number of attempts: 3
Com(m)a Trouble - 2718 entries

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

  • Best score: 12
  • Best player score: 13
  • Number of attempts: 5
Hogwarts Email Sorting - 526 entries

Given a list of emails, get the students full name and their associated house.

  • Best score: 20
  • Best player score: 37
  • Number of attempts: 2
Add semicolons - 7758 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Number of attempts: 5
Simple, Practical, and Common - 29828 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
Words in parens - 11996 entries

We should all ace this, right?

  • Best score: 14
  • Best player score: 15
  • Number of attempts: 8
Triangle of arrows - 61 entries

I made this by accident when working on another challenge. How would you go about making this?

  • Best score: 14
  • Best player score: 19
  • Number of attempts: 1
Search and Replace 0 - 4434 entries

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

  • Best score: 12
  • Best player score: 12
  • Number of attempts: 4
Add text at some column - 111 entries

Complete golang struct statement.

  • Best score: 31
  • Best player score: 32
  • Number of attempts: 1
Swap values inside brackets - 2105 entries

Easy challenge.

  • Best score: 14
  • Best player score: 14
  • Number of attempts: 8
Fiddle percentages into real numbers - 761 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: 13
  • Number of attempts: 6
Remove semicolons after expressions - 488 entries

A follow-up for http://vimgolf.com/challenges/4fc9d767d3a0d4000100000e.

  • Best score: 6
  • Best player score: 7
  • Number of attempts: 4
Quote modules (ver.2) - 109 entries

Complete golang import statement.

  • Best score: 22
  • Best player score: 23
  • Number of attempts: 7
Increment, increment, increment.... - 507 entries

Vim likes macros

  • Best score: 10
  • Best player score: 12
  • Number of attempts: 1
I forgot quotes - 14291 entries

Oops.

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 5
switch variable - 4614 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 12
  • Number of attempts: 3
One number per line - 16263 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 14
  • Number of attempts: 7
Collect List - 3881 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 12
  • Number of attempts: 8
Quote modules - 615 entries

Complete golang import statement.

  • Best score: 21
  • Best player score: 21
  • Number of attempts: 4
prepend * to every non-blank line - 2624 entries

Prepend an asterisk to every non-blank line in the input file.

  • Best score: 10
  • Best player score: 11
  • Number of attempts: 1
Square numbers - 63 entries

Boring math puzzle.

  • Best score: 16
  • Best player score: 31
  • Number of attempts: 1
Ruby 1.9 hashes - 1101 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: 12
  • Best player score: 13
  • Number of attempts: 3
unknown command - 118 entries

I want change 5 words

  • Best score: 7
  • Best player score: 7
  • Number of attempts: 2
Just the middle - 10337 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Number of attempts: 6
Applying same text modification in several lines - 2388 entries

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

  • Best score: 13
  • Best player score: 13
  • Number of attempts: 3
Quark
Twitter:

entered into 29 challenges

contributed 0 challenges