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

Basic renumbering - 4626 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 50
  • Number of attempts: 1
Every other line - 2117 entries

AaAaAaA

  • Best score: 12
  • Best player score: 41
  • Number of attempts: 1
replacing each line of a block selection - 2529 entries

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

  • Best score: 18
  • Best player score: 40
  • Number of attempts: 1
V to the i - 3952 entries

Input is 99 V's. Output is 100 i's.

  • Best score: 7
  • Best player score: 10
  • Number of attempts: 1
Don't know what this is - 1763 entries

Replace contents of brackets with matching number of spaces. Don't ask what the format's supposed to be.

  • Best score: 11
  • Best player score: 23
  • Number of attempts: 1
Order and join - 756 entries

There's something special about the input order.

  • Best score: 10
  • Best player score: 23
  • Number of attempts: 1
Align commas - 854 entries

There are 15,000 aligning challenges on vimgolf.com, and they're all exactly the same. I hope this one is a little different.

  • Best score: 11
  • Best player score: 48
  • Number of attempts: 1
Collect List - 3533 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 24
  • Number of attempts: 1
Cleberson Gomes
Twitter:

A arte não é um convite, é uma representação.

entered into 8 challenges

contributed 0 challenges