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

I forgot quotes - 14504 entries

Oops.

  • Best score: 10
  • Best player score: 14
  • Number of attempts: 3
prepend * to every non-blank line - 3407 entries

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

  • Best score: 10
  • Best player score: 11
  • Number of attempts: 6
Split line with dots - 2021 entries

This line is too long, split it.

  • Best score: 15
  • Best player score: 48
  • Number of attempts: 2
One to Ten - 1747 entries

Generate the sequence of numbers from 1 to 10, one number per line. Inspired by this Reddit thread: https://redd.it/ak4it2

  • Best score: 12
  • Best player score: 12
  • Number of attempts: 7
Add semicolons - 8251 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 2
Simple, Practical, and Common - 30386 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
  • Number of attempts: 10
One number per line - 16673 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 15
  • Number of attempts: 13
Line under headers - 1493 entries

Put a line under each header, and remove the other markdown formatting.

  • Best score: 25
  • Best player score: 40
  • Number of attempts: 1
Hogwarts Email Sorting - 561 entries

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

  • Best score: 20
  • Best player score: 20
  • Number of attempts: 7
Strages
Twitter:

entered into 9 challenges

contributed 0 challenges