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

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

  • Best score: 16
  • Best player score: 21
  • Position: #85 / 224
  • Number of attempts: 2
HS Final exam vimgolf - 539 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: #72 / 147
  • Number of attempts: 1
Rural Post - 3760 entries

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

  • Best score: 9
  • Best player score: 10
  • Position: #338 / 929
  • Number of attempts: 5
Simple, Practical, and Common - 32752 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: #4743 / 7238
  • Number of attempts: 1
prepend * to every non-blank line - 5800 entries

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

  • Best score: 10
  • Best player score: 11
  • Position: #644 / 1427
  • Number of attempts: 2
One number per line - 18269 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 17
  • Position: #1205 / 3766
  • Number of attempts: 2
Applying same text modification in several lines - 2704 entries

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

  • Best score: 12
  • Best player score: 14
  • Position: #340 / 804
  • Number of attempts: 2
Add semicolons - 10449 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Position: #1611 / 2959
  • Number of attempts: 1
remove lines containing the word "reader" - 3426 entries

easy stuff

  • Best score: 9
  • Best player score: 10
  • Position: #570 / 1110
  • Number of attempts: 3
Com(m)a Trouble - 3287 entries

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

  • Best score: 12
  • Best player score: 13
  • Position: #207 / 743
  • Number of attempts: 5
Box it - 7637 entries

Create a box around a line.

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

abc trying to be cool or not...

  • Best score: 15
  • Best player score: 16
  • Position: #88 / 213
  • Number of attempts: 1
Two pairs of cluster of letters creates word - 696 entries

Clean and group.

  • Best score: 17
  • Best player score: 24
  • Position: #126 / 162
  • Number of attempts: 4
ninja substitution - 1254 entries

How can you reuse a previous substitution ?

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

entered into 14 challenges

contributed 0 challenges