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

V to the i - 4796 entries

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

  • Best score: 7
  • Best player score: 8
  • Position: #870 / 1891
  • Number of attempts: 1
Extract argument from function - 2354 entries

The aim is to see if you can do some refactoring very fast.

  • Best score: 13
  • Best player score: 18
  • Position: #649 / 751
  • Number of attempts: 2
Two become one - 713 entries

We have two c arrays and want to make one two dimensional out of it. Can we do that?

  • Best score: 25
  • Best player score: 37
  • Position: #174 / 208
  • Number of attempts: 2
Vim tetris - 353 entries

Vim can play tetris too!

  • Best score: 21
  • Best player score: 24
  • Position: #49 / 102
  • Number of attempts: 2
Split the words - 357 entries

Add the spaces manually if you must, but if you use Vim's spell checking feature wisely, I think you'll save a LARGE number of strokes.

  • Best score: 18
  • Best player score: 44
  • Position: #98 / 109
  • Number of attempts: 2
A HAPPY NEW YEAR 2014 ! - 10654 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 12
  • Position: #1880 / 3678
  • Number of attempts: 1
Words in parens - 12918 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 16
  • Position: #2141 / 3957
  • Number of attempts: 3
Let's play some Ivmgolf - 1118 entries

Oops, I spelled that wrong.

  • Best score: 7
  • Best player score: 9
  • Position: #257 / 445
  • Number of attempts: 4
switch variable - 5061 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 15
  • Position: #1501 / 1743
  • Number of attempts: 2
Make it more readable - 1982 entries

Insert blank lines to make it more organized and readable

  • Best score: 13
  • Best player score: 17
  • Position: #462 / 645
  • Number of attempts: 2
Adrian Bradd
Twitter:

entered into 10 challenges

contributed 0 challenges