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

Line under headers - 465 entries

Put a line under each header, and remove the other markdown formatting.

  • Best score: 26
  • Best player score: 33
  • Number of attempts: 1
Vertical Limit - 2148 entries

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

  • Best score: 21
  • Best player score: 25
  • Number of attempts: 1
Make HTML List - 911 entries

Turn the comma separated list into an unordered html list.

  • Best score: 33
  • Best player score: 49
  • Number of attempts: 1
Bad Copy Syntax - 835 entries

Copy should be from right to left, but sometimes you type it wrong.

  • Best score: 19
  • Best player score: 21
  • Number of attempts: 2
That hyphen - 2236 entries

"vim vi improved"

  • Best score: 9
  • Best player score: 12
  • Number of attempts: 1
switch variable - 4390 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 12
  • Number of attempts: 1
One number per line - 13796 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 17
  • Number of attempts: 7
Add semicolons - 3619 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Number of attempts: 2
Paragraph breaks - 411 entries

Swap the blank lines and the aaa lines.

  • Best score: 10
  • Best player score: 13
  • Number of attempts: 1
Just the middle - 9547 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Number of attempts: 2
Simple, Practical, and Common - 26319 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: 14
  • Best player score: 22
  • Number of attempts: 7
readability - 285 entries

Make the code readable by adding some spaces

  • Best score: 18
  • Best player score: 18
  • Number of attempts: 1
Collect List - 3578 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 17
  • Number of attempts: 1
Box it - 3941 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 22
  • Number of attempts: 4
Mirror Symmetry - 710 entries

Add backslashes.

  • Best score: 7
  • Best player score: 13
  • Number of attempts: 1
Simple text editing with Vim - 10608 entries

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

  • Best score: 13
  • Best player score: 17
  • Number of attempts: 1
replacing each line of a block selection - 2572 entries

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

  • Best score: 18
  • Best player score: 27
  • Number of attempts: 1
quotes inside quotes - 2826 entries

taken from tip 85 of the very good book 'Practical Vim: Edit Text at the Speed of Thought' ! I'd be interested what people use :)

  • Best score: 14
  • Best player score: 17
  • Number of attempts: 1
Jörg Meyer
Twitter:

entered into 18 challenges

contributed 0 challenges