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 - 33929 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 / 7489
  • Number of attempts: 12
Swap values - 4667 entries

Well, swap the values...

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

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

  • Best score: 10
  • Best player score: 17
  • Position: #1123 / 1557
  • Number of attempts: 7
One number per line - 18840 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 16
  • Position: #969 / 3893
  • Number of attempts: 13
Add semicolons - 10923 entries

Simply add a semicolon at the end of each line

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

Create a box around a line.

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

reformat html paragraph to table

  • Best score: 48
  • Best player score: 98
  • Position: #119 / 130
  • Number of attempts: 2
Just the middle - 11555 entries

Delete the instructions at the top and bottom.

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

change the pair of braces into a pair of parentheses

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

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

  • Best score: 14
  • Best player score: 27
  • Position: #229 / 267
  • Number of attempts: 3
I forgot quotes - 16127 entries

Oops.

  • Best score: 10
  • Best player score: 12
  • Position: #1378 / 4208
  • Number of attempts: 7
A HAPPY NEW YEAR 2014 ! - 10720 entries

A HAPPY NEW YEAR 2014 !

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

MS/BsC CS/Math Vandy 2021

entered into 12 challenges

contributed 0 challenges