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

delete swap - 1087 entries

delete all swap

  • Best score: 5
  • Best player score: 21
  • Position: #346 / 354
  • Number of attempts: 3
Fix the shell script! - 1728 entries

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 26
  • Position: #36 / 418
  • Number of attempts: 12
Staircase - 83 entries

Going downstairs, while singing the alphabet song. Some vb practice to us all. Would it be much easier to make it go from left to right instead?

  • Best score: 21
  • Best player score: 21
  • Position: #3 / 25
  • Number of attempts: 12
swap number pairs - 1871 entries

Swap the numbers in a bunch of 2-element arrays.

  • Best score: 16
  • Best player score: 16
  • Position: #48 / 346
  • Number of attempts: 30
Add semicolons - 10720 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 10
  • Position: #739 / 3023
  • Number of attempts: 16
From argument to object - 1441 entries

This task typifies those programmers endure while coding. This C-family pseudocode needs a function argument to be repurposed as an object call. Simply search and replace? Repeat a pattern of edits?

  • Best score: 17
  • Best player score: 17
  • Position: #144 / 441
  • Number of attempts: 15
Just the middle - 11289 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Position: #1482 / 4144
  • Number of attempts: 5
Stairstep digits - 366 entries

Remove the evens. Double the odds.

  • Best score: 9
  • Best player score: 13
  • Position: #114 / 137
  • Number of attempts: 6
simple format (3) - 57 entries

reverse two column values!

  • Best score: 34
  • Best player score: 34
  • Position: #5 / 17
  • Number of attempts: 8
Jay R
Twitter:

entered into 9 challenges

contributed 0 challenges