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

Simple, Practical, and Common - 33724 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: 22
  • Position: #1849 / 7442
  • Number of attempts: 12
Swap values - 4643 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 11
  • Position: #277 / 1274
  • Number of attempts: 11
prepend * to every non-blank line - 6337 entries

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

  • Best score: 10
  • Best player score: 17
  • Position: #1116 / 1546
  • Number of attempts: 7
One number per line - 18755 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 16
  • Position: #965 / 3870
  • Number of attempts: 13
Add semicolons - 10881 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 10
  • Position: #92 / 3072
  • Number of attempts: 7
Box it - 7916 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 21
  • Position: #145 / 1881
  • Number of attempts: 12
html paragraph to table - 606 entries

reformat html paragraph to table

  • Best score: 48
  • Best player score: 98
  • Position: #117 / 126
  • Number of attempts: 2
Just the middle - 11484 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Position: #1264 / 4209
  • Number of attempts: 7
change parenthesis - 296 entries

change the pair of braces into a pair of parentheses

  • Best score: 9
  • Best player score: 9
  • Position: #15 / 161
  • Number of attempts: 3
Reorder the groups - 1182 entries

Change the order so that the groups of fruit come before the vegetables.

  • Best score: 14
  • Best player score: 27
  • Position: #227 / 265
  • Number of attempts: 3
I forgot quotes - 16022 entries

Oops.

  • Best score: 10
  • Best player score: 12
  • Position: #1373 / 4189
  • Number of attempts: 7
A HAPPY NEW YEAR 2014 ! - 10682 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 18
  • Position: #3479 / 3689
  • Number of attempts: 1
James Raubenheimer
Twitter:

MS/BsC CS/Math Vandy 2021

entered into 12 challenges

contributed 0 challenges