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

Swap values - 4693 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 16
  • Position: #1023 / 1289
  • Number of attempts: 2
One number per line - 18889 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 24
  • Position: #3161 / 3898
  • Number of attempts: 1
V to the i - 4848 entries

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

  • Best score: 7
  • Best player score: 9
  • Position: #1610 / 1907
  • Number of attempts: 2
Just the middle - 11572 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 9
  • Position: #3350 / 4240
  • Number of attempts: 1
swap or reverse - 130 entries

Try to swap or reverse the line as needed.

  • Best score: 16
  • Best player score: 21
  • Position: #67 / 70
  • Number of attempts: 1
I forgot quotes - 16176 entries

Oops.

  • Best score: 10
  • Best player score: 21
  • Position: #3737 / 4216
  • Number of attempts: 1
Words in parens - 13024 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 26
  • Position: #3820 / 3983
  • Number of attempts: 1
switch variable - 5110 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 15
  • Position: #1519 / 1758
  • Number of attempts: 1
Edgard Leal
Twitter:

Java Web fullstack developer

entered into 8 challenges

contributed 0 challenges