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

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

  • Best score: 16
  • Best player score: 21
  • Position: #108 / 290
  • Number of attempts: 2
HS Final exam vimgolf - 683 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
  • Position: #89 / 182
  • Number of attempts: 1
Rural Post - 4115 entries

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

  • Best score: 9
  • Best player score: 10
  • Position: #357 / 1017
  • Number of attempts: 5
Simple, Practical, and Common - 32953 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
  • Position: #4769 / 7275
  • Number of attempts: 1
prepend * to every non-blank line - 5975 entries

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

  • Best score: 10
  • Best player score: 11
  • Position: #659 / 1467
  • Number of attempts: 2
One number per line - 18395 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 17
  • Position: #1221 / 3793
  • Number of attempts: 2
Applying same text modification in several lines - 2751 entries

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

  • Best score: 12
  • Best player score: 14
  • Position: #350 / 815
  • Number of attempts: 2
Add semicolons - 10545 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Position: #1620 / 2989
  • Number of attempts: 1
remove lines containing the word "reader" - 3454 entries

easy stuff

  • Best score: 9
  • Best player score: 10
  • Position: #576 / 1121
  • Number of attempts: 3
Com(m)a Trouble - 3410 entries

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

  • Best score: 12
  • Best player score: 13
  • Position: #217 / 764
  • Number of attempts: 5
Box it - 7682 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 21
  • Position: #40 / 1836
  • Number of attempts: 5
Cool or not? - 761 entries

abc trying to be cool or not...

  • Best score: 15
  • Best player score: 16
  • Position: #89 / 216
  • Number of attempts: 1
Two pairs of cluster of letters creates word - 711 entries

Clean and group.

  • Best score: 17
  • Best player score: 24
  • Position: #130 / 167
  • Number of attempts: 4
ninja substitution - 1302 entries

How can you reuse a previous substitution ?

  • Best score: 14
  • Best player score: 20
  • Position: #187 / 248
  • Number of attempts: 1
Bruce Woodward
Twitter:

entered into 14 challenges

contributed 0 challenges