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 - 328 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 - 172 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 - 2420 entries

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

  • Best score: 9
  • Best player score: 10
  • Number of attempts: 4
prepend * to every non-blank line - 5119 entries

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

  • Best score: 10
  • Best player score: 11
  • Number of attempts: 2
Add semicolons - 9550 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Number of attempts: 1
ninja substitution - 1116 entries

How can you reuse a previous substitution ?

  • Best score: 14
  • Best player score: 20
  • Number of attempts: 1
Two pairs of cluster of letters creates word - 661 entries

Clean and group.

  • Best score: 17
  • Best player score: 24
  • Number of attempts: 4
Cool or not? - 698 entries

abc trying to be cool or not...

  • Best score: 15
  • Best player score: 16
  • Number of attempts: 1
Box it - 7222 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 21
  • Number of attempts: 5
remove lines containing the word "reader" - 3263 entries

easy stuff

  • Best score: 9
  • Best player score: 10
  • Number of attempts: 3
Applying same text modification in several lines - 2609 entries

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

  • Best score: 13
  • Best player score: 14
  • Number of attempts: 2
Com(m)a Trouble - 3078 entries

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

  • Best score: 12
  • Best player score: 13
  • Number of attempts: 5
One number per line - 17661 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 17
  • Number of attempts: 2
Simple, Practical, and Common - 31982 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
Bruce Woodward
Twitter:

entered into 14 challenges

contributed 0 challenges