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

Just the middle - 10337 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Number of attempts: 3
Swap values - 4155 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 12
  • Number of attempts: 4
Paragraph breaks - 424 entries

Swap the blank lines and the aaa lines.

  • Best score: 10
  • Best player score: 12
  • Number of attempts: 3
Simple, Practical, and Common - 29828 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: 22
  • Number of attempts: 5
C Reformatting - 654 entries

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

  • Best score: 30
  • Best player score: 64
  • Number of attempts: 2
One number per line - 16280 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 17
  • Number of attempts: 6
Delete unwanted lines - 347 entries

Delete all lines which does not end in "o.."

  • Best score: 9
  • Best player score: 9
  • Number of attempts: 1
I forgot quotes - 14294 entries

Oops.

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 6
Vice versa - 6859 entries

Little role switching.

  • Best score: 12
  • Best player score: 13
  • Number of attempts: 4
Split line with dots - 2007 entries

This line is too long, split it.

  • Best score: 15
  • Best player score: 16
  • Number of attempts: 3
Chris
Twitter:

entered into 10 challenges

contributed 0 challenges