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 - 33616 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: 34
  • Position: #6356 / 7420
  • Number of attempts: 6
Hogwarts Email Sorting - 925 entries

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

  • Best score: 20
  • Best player score: 29
  • Position: #221 / 261
  • Number of attempts: 4
Swap values - 4616 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 25
  • Position: #1216 / 1268
  • Number of attempts: 2
prepend * to every non-blank line - 6308 entries

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

  • Best score: 10
  • Best player score: 10
  • Position: #108 / 1537
  • Number of attempts: 14
One number per line - 18727 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 28
  • Position: #3577 / 3864
  • Number of attempts: 1
Add semicolons - 10852 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 10
  • Position: #535 / 3063
  • Number of attempts: 5
remove lines containing the word "reader" - 3586 entries

easy stuff

  • Best score: 9
  • Best player score: 9
  • Position: #7 / 1162
  • Number of attempts: 7
Box it - 7905 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 28
  • Position: #1256 / 1876
  • Number of attempts: 3
Vice versa - 7907 entries

Little role switching.

  • Best score: 12
  • Best player score: 20
  • Position: #1876 / 2128
  • Number of attempts: 2
I forgot quotes - 15983 entries

Oops.

  • Best score: 10
  • Best player score: 17
  • Position: #3063 / 4180
  • Number of attempts: 2
Array Transposition - 201 entries

Transpose four arrays into two.

  • Best score: 27
  • Best player score: 129
  • Position: #56 / 56
  • Number of attempts: 1
nick
Twitter:

it's a (day) today

entered into 11 challenges

contributed 0 challenges