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 - 32746 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: #924 / 7235
  • Number of attempts: 13
Hogwarts Email Sorting - 784 entries

Given a list of emails, get the students full name and their associated house.

  • Best score: 20
  • Best player score: 22
  • Position: #125 / 225
  • Number of attempts: 4
prepend * to every non-blank line - 5776 entries

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

  • Best score: 10
  • Best player score: 12
  • Position: #699 / 1421
  • Number of attempts: 2
One number per line - 18240 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 22
  • Position: #2703 / 3760
  • Number of attempts: 3
Add semicolons - 10429 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 12
  • Position: #1798 / 2954
  • Number of attempts: 1
Split line with dots - 2075 entries

This line is too long, split it.

  • Best score: 15
  • Best player score: 17
  • Position: #241 / 616
  • Number of attempts: 2
Box it - 7622 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 25
  • Position: #980 / 1819
  • Number of attempts: 2
Basic renumbering - 5393 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 16
  • Position: #544 / 1218
  • Number of attempts: 1
Adam's challenge - 904 entries

Change both normal to bold and 4 by 2. Adam Wathan challenge this on twitter . He did it in 11 keystrokes on Sublime.

  • Best score: 18
  • Best player score: 18
  • Position: #22 / 252
  • Number of attempts: 9
Vice versa - 7416 entries

Little role switching.

  • Best score: 12
  • Best player score: 16
  • Position: #1358 / 2011
  • Number of attempts: 1
Jan Fiser
Twitter:

entered into 10 challenges

contributed 0 challenges