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

Well, swap the values...

  • Best score: 11
  • Best player score: 16
  • Position: #1002 / 1258
  • Number of attempts: 2
One number per line - 18627 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 24
  • Position: #3126 / 3843
  • Number of attempts: 1
V to the i - 4752 entries

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

  • Best score: 7
  • Best player score: 9
  • Position: #1591 / 1880
  • Number of attempts: 2
Just the middle - 11360 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 9
  • Position: #3296 / 4164
  • Number of attempts: 1
swap or reverse - 115 entries

Try to swap or reverse the line as needed.

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

Oops.

  • Best score: 10
  • Best player score: 21
  • Position: #3689 / 4161
  • Number of attempts: 1
Words in parens - 12858 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 26
  • Position: #3786 / 3946
  • Number of attempts: 1
switch variable - 5036 entries

how fast can you switch two variable ?

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

Java Web fullstack developer

entered into 8 challenges

contributed 0 challenges