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 - 33970 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 / 7503
  • Number of attempts: 13
Hogwarts Email Sorting - 951 entries

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

  • Best score: 20
  • Best player score: 22
  • Position: #150 / 270
  • Number of attempts: 4
prepend * to every non-blank line - 6388 entries

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

  • Best score: 10
  • Best player score: 12
  • Position: #787 / 1559
  • Number of attempts: 2
One number per line - 18889 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 22
  • Position: #2797 / 3898
  • Number of attempts: 3
Add semicolons - 10943 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 12
  • Position: #1895 / 3093
  • Number of attempts: 1
Split line with dots - 2174 entries

This line is too long, split it.

  • Best score: 15
  • Best player score: 17
  • Position: #246 / 638
  • Number of attempts: 2
Box it - 7998 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 25
  • Position: #1030 / 1898
  • Number of attempts: 2
Basic renumbering - 5731 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 16
  • Position: #584 / 1277
  • Number of attempts: 1
Adam's challenge - 1018 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 / 278
  • Number of attempts: 9
Vice versa - 8011 entries

Little role switching.

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

entered into 10 challenges

contributed 0 challenges