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

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

  • Best score: 7
  • Best player score: 8
  • Position: #1045 / 1915
  • Number of attempts: 3
Just the middle - 11620 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #1867 / 4258
  • Number of attempts: 3
Basic renumbering - 5737 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 14
  • Position: #395 / 1281
  • Number of attempts: 8
swap or reverse - 132 entries

Try to swap or reverse the line as needed.

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

Make the code readable by adding some spaces

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

Put 3 spaces between adjacent letters.

  • Best score: 15
  • Best player score: 22
  • Position: #322 / 458
  • Number of attempts: 1
I forgot quotes - 16239 entries

Oops.

  • Best score: 10
  • Best player score: 14
  • Position: #1590 / 4225
  • Number of attempts: 3
Words in parens - 13054 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 14
  • Position: #567 / 3991
  • Number of attempts: 2
Vertical Limit - 2637 entries

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

  • Best score: 21
  • Best player score: 37
  • Position: #744 / 778
  • Number of attempts: 1
replacing each line of a block selection - 3068 entries

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

  • Best score: 18
  • Best player score: 21
  • Position: #397 / 789
  • Number of attempts: 4
switch variable - 5128 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 12
  • Position: #868 / 1764
  • Number of attempts: 2
Generate English Alphabets - 540 entries

Start with a, get up to z.

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

entered into 12 challenges

contributed 0 challenges