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

V to the i - 4645 entries

Input is 99 V's. Output is 100 i's.

  • Best score: 7
  • Best player score: 7
  • Position: #215 / 1859
  • Number of attempts: 2
Wrap the text of an email message to 79 characters - 601 entries

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

  • Best score: 5
  • Best player score: 5
  • Position: #212 / 360
  • Number of attempts: 2
Search and Replace 0 - 4695 entries

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

  • Best score: 12
  • Best player score: 12
  • Position: #388 / 1556
  • Number of attempts: 6
Just the middle - 11263 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Position: #310 / 4135
  • Number of attempts: 4
I forgot quotes - 15769 entries

Oops.

  • Best score: 10
  • Best player score: 10
  • Position: #192 / 4119
  • Number of attempts: 3
A HAPPY NEW YEAR 2014 ! - 10557 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 11
  • Position: #730 / 3643
  • Number of attempts: 4
Words in parens - 12769 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 14
  • Position: #548 / 3925
  • Number of attempts: 4
NATO phonetic alphabet - 490 entries

Transform the series of words into a list.

  • Best score: 19
  • Best player score: 19
  • Position: #24 / 185
  • Number of attempts: 2
A simple change - 410 entries

Just change the numbers in the most efficient way ...

  • Best score: 12
  • Best player score: 12
  • Position: #28 / 180
  • Number of attempts: 5
Let's play some Ivmgolf - 1022 entries

Oops, I spelled that wrong.

  • Best score: 7
  • Best player score: 7
  • Position: #82 / 422
  • Number of attempts: 3
replacing each line of a block selection - 2847 entries

replace each line's ../assets/js with /javascripts

  • Best score: 18
  • Best player score: 18
  • Position: #73 / 742
  • Number of attempts: 6
Append semicolon after expressions - 968 entries

Some lines need the semicolon, some don't.

  • Best score: 11
  • Best player score: 11
  • Position: #86 / 391
  • Number of attempts: 3
Remove semicolons after expressions - 576 entries

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

  • Best score: 6
  • Best player score: 6
  • Position: #78 / 244
  • Number of attempts: 2
switch variable - 4963 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 11
  • Position: #359 / 1712
  • Number of attempts: 5
Sort the cardinal numbers - 283 entries

Maybe a simple challenge.

  • Best score: 12
  • Best player score: 12
  • Position: #39 / 142
  • Number of attempts: 2
Ruby 1.9 hashes - 1177 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: 12
  • Position: #72 / 387
  • Number of attempts: 5
A Simple One - 957 entries

Here is a very simple one - just to illustrate/introduce a vim feature that some people seem to miss...

  • Best score: 9
  • Best player score: 9
  • Position: #406 / 624
  • Number of attempts: 1
Increment, increment, increment.... - 599 entries

Vim likes macros

  • Best score: 10
  • Best player score: 12
  • Position: #293 / 382
  • Number of attempts: 1
Context Insensitive completion 1 - 437 entries

Finish writing this simple Python HTTP server.

  • Best score: 18
  • Best player score: 18
  • Position: #120 / 224
  • Number of attempts: 2
Make Fancy Header - 983 entries

Make the header text stand out with surrounding asterisks

  • Best score: 16
  • Best player score: 16
  • Position: #96 / 331
  • Number of attempts: 7
Sort and add attributes - 1217 entries

Sort the states and add the attribute country to each record.

  • Best score: 33
  • Best player score: 33
  • Position: #191 / 492
  • Number of attempts: 2
Simple text editing with Vim - 11708 entries

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

  • Best score: 13
  • Best player score: 13
  • Position: #350 / 3431
  • Number of attempts: 4
David Nguyen
Twitter:

If I had the choice, I would be an apple.

entered into 22 challenges

contributed 0 challenges