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

Permutations N=4 - 55 entries

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

  • Best score: 25
  • Best player score: 50
  • Number of attempts: 1
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
  • Number of attempts: 2
Piphilology - 122 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
  • Number of attempts: 2
Two become one - 676 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
  • Number of attempts: 6
remove dupes from array - 1205 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
  • Number of attempts: 1
Vim tetris - 338 entries

Vim can play tetris too!

  • Best score: 21
  • Best player score: 28
  • Number of attempts: 5
attr_aligner - 3072 entries

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

  • Best score: 19
  • Best player score: 28
  • Number of attempts: 2
vim = 22 / 7 - 398 entries

pi square vim

  • Best score: 20
  • Best player score: 24
  • Number of attempts: 5
Simple text editing with Vim - 10620 entries

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

  • Best score: 13
  • Best player score: 14
  • Number of attempts: 4
switch variable - 4397 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 12
  • Number of attempts: 3
A HAPPY NEW YEAR 2014 ! - 9680 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 12
  • Number of attempts: 3
Extract argument from function - 2041 entries

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

  • Best score: 13
  • Best player score: 14
  • Number of attempts: 3
Simple, Practical, and Common - 26397 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
  • Number of attempts: 4
Let's play some Ivmgolf - 927 entries

Oops, I spelled that wrong.

  • Best score: 7
  • Best player score: 9
  • Number of attempts: 1
I forgot quotes - 12519 entries

Oops.

  • Best score: 10
  • Best player score: 15
  • Number of attempts: 1
Hole-in-one - 941 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
  • Number of attempts: 5
Words in parens - 11288 entries

We should all ace this, right?

  • Best score: 14
  • Best player score: 19
  • Number of attempts: 2
Mess in revision history - 1001 entries

Help Joe clean up what Steve has cobbled.

  • Best score: 17
  • Best player score: 23
  • Number of attempts: 5
ところたん
Twitter:

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

entered into 18 challenges

contributed 0 challenges