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

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #1905 / 4091
  • Number of attempts: 2
ASCII box - 304 entries

Don't forget to fix typos!

  • Best score: 23
  • Best player score: 23
  • Position: #31 / 99
  • Number of attempts: 6
Condensed Cases - 735 entries

Apple's new programming language, Swift, allows two style of case statements: 1) one Enum case on each line, or 2) multiple Enum cases on a single line. Convert the following from the first case (no pun intended) to the second type.

  • Best score: 12
  • Best player score: 21
  • Position: #207 / 226
  • Number of attempts: 1
I forgot quotes - 15656 entries

Oops.

  • Best score: 10
  • Best player score: 10
  • Position: #239 / 4097
  • Number of attempts: 6
A HAPPY NEW YEAR 2014 ! - 10511 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 12
  • Position: #2008 / 3628
  • Number of attempts: 3
quotes inside quotes - 2996 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: 3
  • Best player score: 14
  • Position: #204 / 1037
  • Number of attempts: 4
Words in parens - 12682 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 14
  • Position: #567 / 3905
  • Number of attempts: 5
switch variable - 4866 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 12
  • Position: #835 / 1690
  • Number of attempts: 1
Simple text editing with Vim - 11393 entries

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

  • Best score: 13
  • Best player score: 14
  • Position: #1373 / 3348
  • Number of attempts: 4
Sam B
Twitter:

entered into 9 challenges

contributed 0 challenges