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

C Reformatting - 654 entries

You may use Visual mode... or not. #uppercase

  • Best score: 30
  • Best player score: 57
  • Number of attempts: 1
Simple, Practical, and Common - 27153 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: 25
  • Number of attempts: 7
I forgot quotes - 12860 entries

Oops.

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 6
Context insensitive completion 0 - 445 entries

Buried in the lines you're not supposed to add is the line "Add this line!" Add that line to the top of the file.

  • Best score: 6
  • Best player score: 9
  • Number of attempts: 1
A HAPPY NEW YEAR 2014 ! - 9782 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 11
  • Number of attempts: 4
Just the middle - 9762 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Number of attempts: 2
Simple text editing with Vim - 10703 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: 3
Split line with dots - 1922 entries

This line is too long, split it.

  • Best score: 15
  • Best player score: 19
  • Number of attempts: 1
Vice versa - 6298 entries

Little role switching.

  • Best score: 12
  • Best player score: 16
  • Number of attempts: 2
Sort and add attributes - 1101 entries

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

  • Best score: 33
  • Best player score: 36
  • Number of attempts: 2
Every other line - 2258 entries

AaAaAaA

  • Best score: 12
  • Best player score: 16
  • Number of attempts: 6
Cartesian product - 201 entries

{1,2,3,4,5} X {1,2,3,4,5}

  • Best score: 24
  • Best player score: 32
  • Number of attempts: 1
It'ss tooo coold too typpe todaay - 198 entries

My hands are numb with cold. It's hard to type correctly.

  • Best score: 16
  • Best player score: 24
  • Number of attempts: 1
One number per line - 14404 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 18
  • Number of attempts: 10
Ashish Narasimham
Twitter:

entered into 14 challenges

contributed 0 challenges