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

Rural Post - 4602 entries

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

  • Best score: 9
  • Best player score: 13
  • Position: #582 / 1124
  • Number of attempts: 6
Add quotes to ansible playbook - 1062 entries

You created an ansible playbook, but forgot to add quotes. Can you fix it?

  • Best score: 8
  • Best player score: 11
  • Position: #284 / 344
  • Number of attempts: 4
Yo To Hello - 1156 entries

Simply Turn Yo To Hello

  • Best score: 8
  • Best player score: 10
  • Position: #212 / 537
  • Number of attempts: 1
Simple, Practical, and Common - 34033 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: 27
  • Position: #4082 / 7519
  • Number of attempts: 2
prepend * to every non-blank line - 6399 entries

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

  • Best score: 10
  • Best player score: 10
  • Position: #273 / 1564
  • Number of attempts: 8
One number per line - 18909 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 20
  • Position: #2305 / 3906
  • Number of attempts: 3
Applying same text modification in several lines - 2937 entries

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

  • Best score: 12
  • Best player score: 15
  • Position: #553 / 868
  • Number of attempts: 3
Add semicolons - 10958 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 10
  • Position: #615 / 3098
  • Number of attempts: 3
Copy three lines - 2924 entries

If the site is up (by some miracle), make the text under every header identical.

  • Best score: 13
  • Best player score: 23
  • Position: #535 / 647
  • Number of attempts: 3
Just the middle - 11630 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 9
  • Position: #3675 / 4261
  • Number of attempts: 3
I forgot quotes - 16240 entries

Oops.

  • Best score: 10
  • Best player score: 14
  • Position: #2001 / 4226
  • Number of attempts: 1
Increment, increment, increment.... - 710 entries

Vim likes macros

  • Best score: 10
  • Best player score: 21
  • Position: #407 / 418
  • Number of attempts: 1
Camilo A. Matajira
Twitter:

entered into 12 challenges

contributed 0 challenges