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

Well, swap the values...

  • Best score: 11
  • Best player score: 16
  • Position: #1020 / 1284
  • Number of attempts: 2
One number per line - 18840 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 24
  • Position: #3157 / 3893
  • Number of attempts: 1
V to the i - 4833 entries

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

  • Best score: 7
  • Best player score: 9
  • Position: #1608 / 1904
  • Number of attempts: 2
Just the middle - 11555 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 9
  • Position: #3346 / 4234
  • Number of attempts: 1
swap or reverse - 126 entries

Try to swap or reverse the line as needed.

  • Best score: 16
  • Best player score: 21
  • Position: #66 / 69
  • Number of attempts: 1
I forgot quotes - 16127 entries

Oops.

  • Best score: 10
  • Best player score: 21
  • Position: #3731 / 4208
  • Number of attempts: 1
Words in parens - 13005 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 26
  • Position: #3816 / 3979
  • Number of attempts: 1
switch variable - 5101 entries

how fast can you switch two variable ?

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

Java Web fullstack developer

entered into 8 challenges

contributed 0 challenges