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

Search and Replace 0 - 4534 entries

Replace every instance of 'aaa' with 'xaaax'.

  • Best score: 12
  • Best player score: 12
  • Position: #220 / 1507
  • Number of attempts: 5
Python Hello World! Reformatting - 869 entries

A novice Python using prints Hello World! and a pro shows him different way. Using vim to get into pro style from novice, win the challenge.

  • Best score: 39
  • Best player score: 44
  • Position: #199 / 333
  • Number of attempts: 2
Words in parens - 12677 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 14
  • Position: #25 / 3903
  • Number of attempts: 7
you're stuck on jQuery < 1.7 - 325 entries

replace calls to jQuery 1.7+'s `on` with calls to pre 1.7 `bind`

  • Best score: 25
  • Best player score: 33
  • Position: #76 / 104
  • Number of attempts: 1
replacing each line of a block selection - 2740 entries

replace each line's ../assets/js with /javascripts

  • Best score: 18
  • Best player score: 20
  • Position: #230 / 724
  • Number of attempts: 5
switch variable - 4863 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 11
  • Position: #158 / 1688
  • Number of attempts: 5
The meaning - 515 entries

Numbers are fun!

  • Best score: 5
  • Best player score: 5
  • Position: #185 / 330
  • Number of attempts: 2
Numbering a List - 1774 entries

Pretty simple, number the list.

  • Best score: 13
  • Best player score: 25
  • Position: #487 / 609
  • Number of attempts: 2
The holy-grail may help - 304 entries

Can you find it in less than 20 strokes, Arthur?

  • Best score: 16
  • Best player score: 16
  • Position: #82 / 190
  • Number of attempts: 1
Assignment Alignment - 722 entries

line up the operators. Use spaces, not tabs.

  • Best score: 18
  • Best player score: 31
  • Position: #163 / 202
  • Number of attempts: 2
A Simple One - 870 entries

Here is a very simple one - just to illustrate/introduce a vim feature that some people seem to miss...

  • Best score: 9
  • Best player score: 9
  • Position: #327 / 581
  • Number of attempts: 1
Reverse Simple Deletion - 739 entries

You did the simple deletion, now reverse it.

  • Best score: 11
  • Best player score: 13
  • Position: #349 / 418
  • Number of attempts: 1
Simple text editing with Vim - 11354 entries

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

  • Best score: 13
  • Best player score: 13
  • Position: #13 / 3335
  • Number of attempts: 6
arminas
Twitter:

entered into 13 challenges

contributed 0 challenges