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 number pairs - 435 entries

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

  • Best score: 16
  • Best player score: 18
  • Number of attempts: 4
HS Final exam vimgolf - 186 entries

Change the initial file to a single line containing all names comma-separated with numbers inside parentheses.

  • Best score: 21
  • Best player score: 54
  • Number of attempts: 1
Rural Post - 2482 entries

Simple challenge to remove all but the post code on each line

  • Best score: 9
  • Best player score: 9
  • Number of attempts: 6
Yo To Hello - 758 entries

Simply Turn Yo To Hello

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 3
prepend * to every non-blank line - 5144 entries

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

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 4
Add semicolons - 9585 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 7
One number per line - 17686 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 15
  • Number of attempts: 8
Simple, Practical, and Common - 32042 entries

Simple things we do all the time should be able to be done with very few keystrokes, but sometimes I find something I need to do makes me go, "There MUST be a better way." This challenge is just a simple movement and entering text at a certain place.

  • Best score: 22
  • Best player score: 22
  • Number of attempts: 7
Words in parens - 12467 entries

We should all ace this, right?

  • Best score: 14
  • Best player score: 14
  • Number of attempts: 8
Simple text editing with Vim - 11232 entries

Make the pairs of lines match up by making each second line same as first

  • Best score: 13
  • Best player score: 14
  • Number of attempts: 5
Andreas Siegrist
Twitter:

entered into 10 challenges

contributed 0 challenges