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

A HAPPY NEW YEAR 2014 ! - 10319 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 14
  • Number of attempts: 1
A Simple One - 860 entries

Here is a very simple one - just to illustrate/introduce a vim feature that some people seem to miss...

  • Best score: 9
  • Best player score: 9
  • Number of attempts: 2
V to the i - 4505 entries

Input is 99 V's. Output is 100 i's.

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

Well, swap the values...

  • Best score: 11
  • Best player score: 13
  • Number of attempts: 5
quotes inside quotes - 2973 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
The name of the game - 597 entries

End up with the name of the game.

  • Best score: 11
  • Best player score: 17
  • Number of attempts: 1
Array transposition - 2120 entries

Transpose two arrays into one.

  • Best score: 16
  • Best player score: 32
  • Number of attempts: 1
The meaning - 515 entries

Numbers are fun!

  • Best score: 5
  • Best player score: 5
  • Number of attempts: 3
Vice versa - 7140 entries

Little role switching.

  • Best score: 12
  • Best player score: 12
  • Number of attempts: 3
Just the middle - 10809 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Number of attempts: 1
The Cake is a Lie - 1168 entries

Correct the capitalization of each word

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

Oops.

  • Best score: 10
  • Best player score: 18
  • Number of attempts: 1
Switch function arguments - 1893 entries

How to switch two arguments of a function.

  • Best score: 11
  • Best player score: 12
  • Number of attempts: 2
Homer Simp12586
Twitter:

entered into 13 challenges

contributed 0 challenges