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

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

  • Best score: 7
  • Best player score: 10
  • Position: #291 / 1126
  • Number of attempts: 5
Simple, Practical, and Common - 34031 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: 24
  • Position: #3112 / 7520
  • Number of attempts: 8
prepend * to every non-blank line - 6401 entries

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

  • Best score: 7
  • Best player score: 15
  • Position: #981 / 1566
  • Number of attempts: 3
One number per line - 18907 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 19
  • Position: #1998 / 3907
  • Number of attempts: 2
Box it - 8004 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 24
  • Position: #958 / 1902
  • Number of attempts: 7
I forgot quotes - 16255 entries

Oops.

  • Best score: 10
  • Best player score: 12
  • Position: #1401 / 4229
  • Number of attempts: 9
quotes inside quotes - 3210 entries

taken from tip 85 of the very good book 'Practical Vim: Edit Text at the Speed of Thought' ! I'd be interested what people use :)

  • Best score: 7
  • Best player score: 17
  • Position: #949 / 1097
  • Number of attempts: 3
switch variable - 5136 entries

how fast can you switch two variable ?

  • Best score: 9
  • Best player score: 14
  • Position: #1460 / 1767
  • Number of attempts: 2
Leonard Wagner
Twitter:

entered into 8 challenges

contributed 0 challenges