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

Just give me the numbers.

  • Best score: 14
  • Best player score: 22
  • Position: #2671 / 3907
  • Number of attempts: 1
From argument to object - 1566 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: #318 / 471
  • Number of attempts: 2
create arrows in a list - 146 entries

Add arrow at same distance

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

Add backslashes.

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

Right AND down.

  • Best score: 13
  • Best player score: 16
  • Position: #271 / 362
  • Number of attempts: 2
Words in parens - 13063 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 15
  • Position: #1609 / 3995
  • Number of attempts: 3
Vertical Limit - 2642 entries

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

  • Best score: 10
  • Best player score: 24
  • Position: #310 / 781
  • Number of attempts: 1
replacing each line of a block selection - 3070 entries

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

  • Best score: 7
  • Best player score: 20
  • Position: #283 / 791
  • Number of attempts: 3
Switch function arguments - 2235 entries

How to switch two arguments of a function.

  • Best score: 7
  • Best player score: 13
  • Position: #435 / 687
  • Number of attempts: 2
MS
Twitter:

Freak out squares.

entered into 9 challenges

contributed 0 challenges