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

One number per line - 18903 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 15
  • Position: #782 / 3904
  • Number of attempts: 8
Swap values inside brackets - 2551 entries

Easy challenge.

  • Best score: 13
  • Best player score: 16
  • Position: #242 / 594
  • Number of attempts: 5
Just the middle - 11620 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #2730 / 4258
  • Number of attempts: 4
Back to the roots - 80 entries

Johnny has a file with more integers. He wants to change each number with its square root. Can you help him?

  • Best score: 20
  • Best player score: 23
  • Position: #25 / 43
  • Number of attempts: 2
Collect List - 4342 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 13
  • Position: #598 / 1200
  • Number of attempts: 4
I forgot quotes - 16239 entries

Oops.

  • Best score: 10
  • Best player score: 10
  • Position: #780 / 4225
  • Number of attempts: 14
A HAPPY NEW YEAR 2014 ! - 10758 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 12
  • Position: #1749 / 3717
  • Number of attempts: 6
quotes inside quotes - 3203 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
  • Position: #926 / 1094
  • Number of attempts: 2
Words in parens - 13054 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 22
  • Position: #3568 / 3991
  • Number of attempts: 1
switch variable - 5128 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 11
  • Position: #520 / 1764
  • Number of attempts: 2
Vasil Mikhalenya
Twitter:

entered into 10 challenges

contributed 0 challenges