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

V to the i - 4853 entries

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

  • Best score: 7
  • Best player score: 8
  • Position: #1044 / 1909
  • Number of attempts: 3
Just the middle - 11574 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #1865 / 4241
  • Number of attempts: 3
Basic renumbering - 5731 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 14
  • Position: #392 / 1277
  • Number of attempts: 8
swap or reverse - 130 entries

Try to swap or reverse the line as needed.

  • Best score: 16
  • Best player score: 16
  • Position: #3 / 70
  • Number of attempts: 6
readability - 331 entries

Make the code readable by adding some spaces

  • Best score: 18
  • Best player score: 18
  • Position: #52 / 153
  • Number of attempts: 2
Space out the alphabet - 1687 entries

Put 3 spaces between adjacent letters.

  • Best score: 15
  • Best player score: 22
  • Position: #318 / 452
  • Number of attempts: 1
I forgot quotes - 16176 entries

Oops.

  • Best score: 10
  • Best player score: 14
  • Position: #1586 / 4216
  • Number of attempts: 3
Words in parens - 13028 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 14
  • Position: #566 / 3984
  • Number of attempts: 2
Vertical Limit - 2624 entries

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

  • Best score: 21
  • Best player score: 37
  • Position: #740 / 774
  • Number of attempts: 1
replacing each line of a block selection - 3040 entries

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

  • Best score: 18
  • Best player score: 21
  • Position: #395 / 785
  • Number of attempts: 4
switch variable - 5110 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 12
  • Position: #865 / 1758
  • Number of attempts: 2
Generate English Alphabets - 510 entries

Start with a, get up to z.

  • Best score: 19
  • Best player score: 25
  • Position: #140 / 213
  • Number of attempts: 3
Sir Chauffeur
Twitter:

entered into 12 challenges

contributed 0 challenges