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

delete all swap

  • Best score: 5
  • Best player score: 10
  • Position: #386 / 485
  • Number of attempts: 8
Fix the shell script! - 2360 entries

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 34
  • Position: #287 / 545
  • Number of attempts: 4
prepend * to every non-blank line - 6217 entries

Prepend an asterisk to every non-blank line in the input file.

  • Best score: 10
  • Best player score: 11
  • Position: #736 / 1518
  • Number of attempts: 21
Add semicolons - 10795 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 10
  • Position: #744 / 3045
  • Number of attempts: 7
From argument to object - 1474 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: #149 / 450
  • Number of attempts: 4
Just the middle - 11360 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Position: #1488 / 4164
  • Number of attempts: 9
Stairstep digits - 376 entries

Remove the evens. Double the odds.

  • Best score: 9
  • Best player score: 9
  • Position: #47 / 141
  • Number of attempts: 8
Words in parens - 12858 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 13
  • Position: #12 / 3946
  • Number of attempts: 14
Akshay Barpute
Twitter:

entered into 8 challenges

contributed 0 challenges