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

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

  • Best score: 7
  • Best player score: 8
  • Position: #853 / 1857
  • Number of attempts: 1
Extract argument from function - 2218 entries

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

  • Best score: 13
  • Best player score: 18
  • Position: #629 / 729
  • Number of attempts: 2
Two become one - 703 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: #169 / 202
  • Number of attempts: 2
Vim tetris - 351 entries

Vim can play tetris too!

  • Best score: 21
  • Best player score: 24
  • Position: #48 / 100
  • Number of attempts: 2
Split the words - 353 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: #96 / 106
  • Number of attempts: 2
A HAPPY NEW YEAR 2014 ! - 10538 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 12
  • Position: #1855 / 3638
  • Number of attempts: 1
Words in parens - 12736 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 16
  • Position: #2115 / 3919
  • Number of attempts: 3
Let's play some Ivmgolf - 1015 entries

Oops, I spelled that wrong.

  • Best score: 7
  • Best player score: 9
  • Position: #243 / 420
  • Number of attempts: 4
switch variable - 4945 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 15
  • Position: #1477 / 1708
  • Number of attempts: 2
Make it more readable - 1905 entries

Insert blank lines to make it more organized and readable

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

entered into 10 challenges

contributed 0 challenges