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

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

  • Best score: 7
  • Best player score: 8
  • Position: #877 / 1903
  • Number of attempts: 1
Extract argument from function - 2376 entries

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

  • Best score: 13
  • Best player score: 18
  • Position: #655 / 759
  • Number of attempts: 2
Two become one - 719 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: #176 / 210
  • Number of attempts: 2
Vim tetris - 371 entries

Vim can play tetris too!

  • Best score: 21
  • Best player score: 24
  • Position: #50 / 104
  • Number of attempts: 2
Split the words - 372 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: #101 / 112
  • Number of attempts: 2
A HAPPY NEW YEAR 2014 ! - 10713 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 12
  • Position: #1892 / 3700
  • Number of attempts: 1
Words in parens - 12992 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 16
  • Position: #2154 / 3977
  • Number of attempts: 3
Let's play some Ivmgolf - 1138 entries

Oops, I spelled that wrong.

  • Best score: 7
  • Best player score: 9
  • Position: #260 / 450
  • Number of attempts: 4
switch variable - 5094 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 15
  • Position: #1509 / 1754
  • Number of attempts: 2
Make it more readable - 2009 entries

Insert blank lines to make it more organized and readable

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

entered into 10 challenges

contributed 0 challenges