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

One number per line - 18365 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 19
  • Position: #1603 / 3785
  • Number of attempts: 3
Split line with dots - 2087 entries

This line is too long, split it.

  • Best score: 15
  • Best player score: 25
  • Position: #507 / 620
  • Number of attempts: 1
Search and Replace 0 - 4637 entries

Replace every instance of 'aaa' with 'xaaax'.

  • Best score: 12
  • Best player score: 12
  • Position: #455 / 1536
  • Number of attempts: 3
Just the middle - 11119 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #2198 / 4108
  • Number of attempts: 2
Combines all items - 266 entries

For each line that starts with the same number I want to combine its contents

  • Best score: 9
  • Best player score: 10
  • Position: #85 / 122
  • Number of attempts: 1
Array of characters - 133 entries

We all copy paste things off the internet, but the syntax doesn't look right. Fix it as fast as possible.

  • Best score: 33
  • Best player score: 42
  • Position: #28 / 40
  • Number of attempts: 4
-a-b-c- - 3107 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 14
  • Position: #340 / 1109
  • Number of attempts: 1
switch variable - 4901 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 13
  • Position: #1161 / 1698
  • Number of attempts: 1
Meninx
Twitter:

entered into 8 challenges

contributed 0 challenges