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

Well, swap the values...

  • Best score: 11
  • Best player score: 16
  • Position: #980 / 1255
  • Number of attempts: 3
Just the middle - 11346 entries

Delete the instructions at the top and bottom.

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

add a prefix on some camelCase variables

  • Best score: 15
  • Best player score: 25
  • Position: #260 / 274
  • Number of attempts: 1
remove all lines in first part - 190 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: #57 / 65
  • Number of attempts: 1
I forgot quotes - 15923 entries

Oops.

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

A HAPPY NEW YEAR 2014 !

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

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

  • Best score: 20
  • Best player score: 27
  • Position: #57 / 67
  • Number of attempts: 1
Reverse Simple Deletion - 832 entries

You did the simple deletion, now reverse it.

  • Best score: 11
  • Best player score: 12
  • Position: #308 / 454
  • Number of attempts: 1
Increment, increment, increment.... - 643 entries

Vim likes macros

  • Best score: 10
  • Best player score: 12
  • Position: #295 / 398
  • Number of attempts: 1
Simple text editing with Vim - 12233 entries

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

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

entered into 10 challenges

contributed 0 challenges