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 - 33787 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 / 7454
  • Number of attempts: 12
Swap values - 4647 entries

Well, swap the values...

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

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

  • Best score: 10
  • Best player score: 17
  • Position: #1119 / 1551
  • Number of attempts: 7
One number per line - 18799 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 16
  • Position: #967 / 3881
  • Number of attempts: 13
Add semicolons - 10899 entries

Simply add a semicolon at the end of each line

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

Create a box around a line.

  • Best score: 21
  • Best player score: 21
  • Position: #145 / 1886
  • 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 - 11509 entries

Delete the instructions at the top and bottom.

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

change the pair of braces into a pair of parentheses

  • Best score: 9
  • Best player score: 9
  • Position: #15 / 162
  • 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 - 16061 entries

Oops.

  • Best score: 10
  • Best player score: 12
  • Position: #1375 / 4195
  • Number of attempts: 7
A HAPPY NEW YEAR 2014 ! - 10699 entries

A HAPPY NEW YEAR 2014 !

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

MS/BsC CS/Math Vandy 2021

entered into 12 challenges

contributed 0 challenges