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

Swap values - 4609 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 16
  • Position: #991 / 1266
  • Number of attempts: 3
Just the middle - 11423 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Position: #252 / 4185
  • Number of attempts: 8
camel riding - 793 entries

add a prefix on some camelCase variables

  • Best score: 15
  • Best player score: 25
  • Position: #266 / 281
  • Number of attempts: 1
remove all lines in first part - 211 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: 22
  • Position: #59 / 67
  • Number of attempts: 1
I forgot quotes - 15967 entries

Oops.

  • Best score: 10
  • Best player score: 10
  • Position: #167 / 4174
  • Number of attempts: 3
A HAPPY NEW YEAR 2014 ! - 10656 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 14
  • Position: #2720 / 3679
  • Number of attempts: 2
Complete the hex array data (Part II) - 166 entries

Do not use external tools(e.g. tac, seq) [My interpretation of Rule #7]

  • Best score: 20
  • Best player score: 27
  • Position: #59 / 69
  • Number of attempts: 1
Reverse Simple Deletion - 845 entries

You did the simple deletion, now reverse it.

  • Best score: 11
  • Best player score: 12
  • Position: #309 / 457
  • Number of attempts: 1
Increment, increment, increment.... - 677 entries

Vim likes macros

  • Best score: 10
  • Best player score: 12
  • Position: #301 / 405
  • Number of attempts: 1
Simple text editing with Vim - 12680 entries

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

  • Best score: 13
  • Best player score: 14
  • Position: #1422 / 3665
  • Number of attempts: 3
James Baird
Twitter:

entered into 10 challenges

contributed 0 challenges