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

Simple, Practical, and Common - 32765 entries

Simple things we do all the time should be able to be done with very few keystrokes, but sometimes I find something I need to do makes me go, "There MUST be a better way." This challenge is just a simple movement and entering text at a certain place.

  • Best score: 22
  • Best player score: 22
  • Position: #1152 / 7241
  • Number of attempts: 4
vim = 22 / 7 - 415 entries

pi square vim

  • Best score: 20
  • Best player score: 24
  • Position: #70 / 127
  • Number of attempts: 5
Extract argument from function - 2194 entries

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

  • Best score: 13
  • Best player score: 14
  • Position: #267 / 723
  • Number of attempts: 3
I forgot quotes - 15666 entries

Oops.

  • Best score: 10
  • Best player score: 15
  • Position: #2046 / 4098
  • Number of attempts: 1
Two become one - 699 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: 30
  • Position: #80 / 201
  • Number of attempts: 6
Vim tetris - 347 entries

Vim can play tetris too!

  • Best score: 21
  • Best player score: 28
  • Position: #64 / 98
  • Number of attempts: 5
Piphilology - 124 entries

Piphilology comprises the creation and use of mnemonic techniques to remember a span of digits of the mathematical constant π. http://en.wikipedia.org/wiki/Piphilology

  • Best score: 29
  • Best player score: 38
  • Position: #30 / 49
  • Number of attempts: 2
Mess in revision history - 1117 entries

Help Joe clean up what Steve has cobbled.

  • Best score: 17
  • Best player score: 23
  • Position: #125 / 239
  • Number of attempts: 5
Write Setters and Getters for PHP - 86 entries

Just simple automation of writing Setters and Getters like Doctrine might use.

  • Best score: 102
  • Best player score: 154
  • Position: #25 / 32
  • Number of attempts: 2
Permutations N=4 - 60 entries

Could use backtracking or other algorithm to generate sorted numbers. Second chance !

  • Best score: 25
  • Best player score: 50
  • Position: #15 / 18
  • Number of attempts: 1
A HAPPY NEW YEAR 2014 ! - 10513 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 12
  • Position: #1745 / 3629
  • Number of attempts: 3
attr_aligner - 3350 entries

Two attr keywords. Two separate indentations. Align the colons.

  • Best score: 19
  • Best player score: 28
  • Position: #303 / 678
  • Number of attempts: 2
Words in parens - 12690 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 19
  • Position: #2997 / 3906
  • Number of attempts: 2
Hole-in-one - 963 entries

Lets take this golf thing literally.. Drive off the tee into the hole, and of course you don't strike the ball completely clean.

  • Best score: 15
  • Best player score: 18
  • Position: #128 / 294
  • Number of attempts: 5
Let's play some Ivmgolf - 985 entries

Oops, I spelled that wrong.

  • Best score: 7
  • Best player score: 9
  • Position: #232 / 409
  • Number of attempts: 1
switch variable - 4871 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 12
  • Position: #787 / 1692
  • Number of attempts: 3
remove dupes from array - 1266 entries

given a random string that contains a ruby-esque array, make sure that there are no duplicate elements

  • Best score: 17
  • Best player score: 30
  • Position: #291 / 322
  • Number of attempts: 1
Simple text editing with Vim - 11431 entries

Make the pairs of lines match up by making each second line same as first

  • Best score: 13
  • Best player score: 14
  • Position: #1188 / 3357
  • Number of attempts: 4
ところたん
Twitter:

ロボットをつくったりつくらなかったりする14歳の女の子です(ㆁωㆁ*) すき: Arch Linux, Vim, i3wm, STM32, MATLAB, 自然言語, ちいさくて賢いもの ほしい: https://t.co/nntTAn3TGe

entered into 18 challenges

contributed 0 challenges