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

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

  • Best score: 7
  • Best player score: 8
  • Position: #1039 / 1899
  • Number of attempts: 3
Just the middle - 11509 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #1857 / 4218
  • Number of attempts: 3
Basic renumbering - 5685 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 14
  • Position: #387 / 1270
  • Number of attempts: 8
swap or reverse - 126 entries

Try to swap or reverse the line as needed.

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

Make the code readable by adding some spaces

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

Put 3 spaces between adjacent letters.

  • Best score: 15
  • Best player score: 22
  • Position: #314 / 446
  • Number of attempts: 1
I forgot quotes - 16061 entries

Oops.

  • Best score: 10
  • Best player score: 14
  • Position: #1575 / 4195
  • Number of attempts: 3
Words in parens - 12975 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 14
  • Position: #560 / 3971
  • Number of attempts: 2
Vertical Limit - 2574 entries

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

  • Best score: 21
  • Best player score: 37
  • Position: #729 / 761
  • 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: 21
  • Position: #391 / 779
  • Number of attempts: 4
switch variable - 5085 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 12
  • Position: #860 / 1750
  • Number of attempts: 2
Generate English Alphabets - 502 entries

Start with a, get up to z.

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

entered into 12 challenges

contributed 0 challenges