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

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

  • Best score: 7
  • Best player score: 8
  • Position: #880 / 1909
  • Number of attempts: 1
Extract argument from function - 2397 entries

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

  • Best score: 13
  • Best player score: 18
  • Position: #662 / 766
  • Number of attempts: 2
Two become one - 736 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: #177 / 212
  • Number of attempts: 2
Vim tetris - 384 entries

Vim can play tetris too!

  • Best score: 21
  • Best player score: 24
  • Position: #51 / 105
  • Number of attempts: 2
Split the words - 394 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: #102 / 113
  • Number of attempts: 2
A HAPPY NEW YEAR 2014 ! - 10748 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 12
  • Position: #1898 / 3711
  • Number of attempts: 1
Words in parens - 13028 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 16
  • Position: #2158 / 3984
  • Number of attempts: 3
Let's play some Ivmgolf - 1145 entries

Oops, I spelled that wrong.

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

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 15
  • Position: #1513 / 1758
  • Number of attempts: 2
Make it more readable - 2028 entries

Insert blank lines to make it more organized and readable

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

entered into 10 challenges

contributed 0 challenges