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

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

  • Best score: 16
  • Best player score: 21
  • Number of attempts: 2
HS Final exam vimgolf - 463 entries

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

  • Best score: 21
  • Best player score: 26
  • Number of attempts: 1
Rural Post - 3649 entries

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

  • Best score: 9
  • Best player score: 10
  • Number of attempts: 5
Simple, Practical, and Common - 32690 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: 29
  • Number of attempts: 1
prepend * to every non-blank line - 5728 entries

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

  • Best score: 10
  • Best player score: 11
  • Number of attempts: 2
One number per line - 18195 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 17
  • Number of attempts: 2
Applying same text modification in several lines - 2697 entries

Remove identical text at the beginning of several lines and the closing parenthesis.

  • Best score: 12
  • Best player score: 14
  • Number of attempts: 2
Add semicolons - 10409 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Number of attempts: 1
remove lines containing the word "reader" - 3410 entries

easy stuff

  • Best score: 9
  • Best player score: 10
  • Number of attempts: 3
Com(m)a Trouble - 3270 entries

Someone was real stupid when placing his commas. Can you fix it?

  • Best score: 7
  • Best player score: 13
  • Number of attempts: 5
Box it - 7605 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 21
  • Number of attempts: 5
Cool or not? - 725 entries

abc trying to be cool or not...

  • Best score: 15
  • Best player score: 16
  • Number of attempts: 1
Two pairs of cluster of letters creates word - 682 entries

Clean and group.

  • Best score: 17
  • Best player score: 24
  • Number of attempts: 4
ninja substitution - 1200 entries

How can you reuse a previous substitution ?

  • Best score: 13
  • Best player score: 20
  • Number of attempts: 1
Bruce Woodward
Twitter:

entered into 14 challenges

contributed 0 challenges