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

Simple, Practical, and Common - 33970 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: 29
  • Position: #4707 / 7503
  • Number of attempts: 3
Swap values - 4703 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 14
  • Position: #715 / 1291
  • Number of attempts: 3
One number per line - 18889 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 25
  • Position: #3326 / 3898
  • Number of attempts: 2
Just the middle - 11590 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Position: #835 / 4246
  • Number of attempts: 2
underscore_to_camelCase - 187 entries

Pointy haired boss decided we need to switch to camelCase. Let's get this over with.

  • Best score: 14
  • Best player score: 15
  • Position: #56 / 84
  • Number of attempts: 2
Fun With The Diagonal - 110 entries

change the lowercase characters on the main diagonal to uppercase

  • Best score: 11
  • Best player score: 11
  • Position: #43 / 83
  • Number of attempts: 1
Free hyphen! - 191 entries

Just like "Inner hyphens", but I'm giving you a free hyphen to play with. Will your solution be any different?

  • Best score: 9
  • Best player score: 9
  • Position: #14 / 94
  • Number of attempts: 3
Order and join - 1009 entries

There's something special about the input order.

  • Best score: 10
  • Best player score: 12
  • Position: #165 / 263
  • Number of attempts: 4
Manual SQL - 178 entries

Change select and insert queries to simulate inserting a new record.

  • Best score: 48
  • Best player score: 65
  • Position: #31 / 52
  • Number of attempts: 4
Generate a list of numbers - 302 entries

Please generate list of numbers from 1 to 20.

  • Best score: 14
  • Best player score: 15
  • Position: #102 / 142
  • Number of attempts: 1
From A to B - 603 entries

Mirror and change this text block

  • Best score: 16
  • Best player score: 20
  • Position: #118 / 160
  • Number of attempts: 2
I forgot quotes - 16179 entries

Oops.

  • Best score: 10
  • Best player score: 12
  • Position: #1320 / 4218
  • Number of attempts: 7
Vertical Limit - 2629 entries

transform a succession of one word lines to a an array of strings

  • Best score: 21
  • Best player score: 22
  • Position: #169 / 775
  • Number of attempts: 4
switch variable - 5114 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 12
  • Position: #920 / 1759
  • Number of attempts: 2
Simple text editing with Vim - 13526 entries

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

  • Best score: 13
  • Best player score: 14
  • Position: #1609 / 3879
  • Number of attempts: 3
Raymond Chee
Twitter:

CMU Master's Graduate, UT Austin alum, probably an interesting person

entered into 15 challenges

contributed 0 challenges