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

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

  • Best score: 7
  • Best player score: 8
  • Position: #1041 / 1903
  • Number of attempts: 3
Just the middle - 11541 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #1861 / 4230
  • Number of attempts: 3
Basic renumbering - 5707 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 14
  • Position: #390 / 1274
  • 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 - 16093 entries

Oops.

  • Best score: 10
  • Best player score: 14
  • Position: #1577 / 4202
  • Number of attempts: 3
Words in parens - 12992 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 14
  • Position: #562 / 3977
  • Number of attempts: 2
Vertical Limit - 2596 entries

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

  • Best score: 21
  • Best player score: 37
  • Position: #733 / 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: 21
  • Position: #391 / 780
  • Number of attempts: 4
switch variable - 5094 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 12
  • Position: #862 / 1754
  • Number of attempts: 2
Generate English Alphabets - 508 entries

Start with a, get up to z.

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

entered into 12 challenges

contributed 0 challenges