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

One number per line - 18776 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 22
  • Position: #2653 / 3875
  • Number of attempts: 1
From argument to object - 1513 entries

This task typifies those programmers endure while coding. This C-family pseudocode needs a function argument to be repurposed as an object call. Simply search and replace? Repeat a pattern of edits?

  • Best score: 17
  • Best player score: 20
  • Position: #309 / 460
  • Number of attempts: 2
create arrows in a list - 117 entries

Add arrow at same distance

  • Best score: 10
  • Best player score: 10
  • Position: #8 / 73
  • Number of attempts: 1
Mirror Symmetry - 822 entries

Add backslashes.

  • Best score: 7
  • Best player score: 7
  • Position: #75 / 269
  • Number of attempts: 7
Count both ways - 1022 entries

Right AND down.

  • Best score: 13
  • Best player score: 16
  • Position: #266 / 354
  • Number of attempts: 2
Words in parens - 12967 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 15
  • Position: #1595 / 3969
  • Number of attempts: 3
Vertical Limit - 2554 entries

transform a succession of one word lines to a an array of strings

  • Best score: 21
  • Best player score: 24
  • Position: #300 / 758
  • Number of attempts: 1
replacing each line of a block selection - 3005 entries

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

  • Best score: 18
  • Best player score: 20
  • Position: #275 / 779
  • Number of attempts: 3
Switch function arguments - 2147 entries

How to switch two arguments of a function.

  • Best score: 11
  • Best player score: 13
  • Position: #422 / 666
  • Number of attempts: 2
MS
Twitter:

Freak out squares.

entered into 9 challenges

contributed 0 challenges