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

Just give me the numbers.

  • Best score: 14
  • Best player score: 22
  • Position: #2660 / 3889
  • Number of attempts: 1
From argument to object - 1536 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: #315 / 466
  • Number of attempts: 2
create arrows in a list - 130 entries

Add arrow at same distance

  • Best score: 10
  • Best player score: 10
  • Position: #8 / 78
  • 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 - 12992 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 15
  • Position: #1598 / 3977
  • Number of attempts: 3
Vertical Limit - 2596 entries

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

  • Best score: 21
  • Best player score: 24
  • Position: #303 / 767
  • Number of attempts: 1
replacing each line of a block selection - 3007 entries

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

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

How to switch two arguments of a function.

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

Freak out squares.

entered into 9 challenges

contributed 0 challenges