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 - 32904 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: #2067 / 7270
  • Number of attempts: 10
Hogwarts Email Sorting - 828 entries

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

  • Best score: 20
  • Best player score: 20
  • Position: #18 / 237
  • Number of attempts: 7
prepend * to every non-blank line - 5959 entries

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

  • Best score: 10
  • Best player score: 11
  • Position: #433 / 1463
  • Number of attempts: 6
One number per line - 18377 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 15
  • Position: #787 / 3787
  • Number of attempts: 13
Add semicolons - 10539 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 10
  • Position: #422 / 2988
  • Number of attempts: 2
Split line with dots - 2098 entries

This line is too long, split it.

  • Best score: 15
  • Best player score: 48
  • Position: #613 / 622
  • Number of attempts: 2
One to Ten - 2093 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
  • Position: #249 / 641
  • Number of attempts: 7
Line under headers - 1918 entries

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

  • Best score: 24
  • Best player score: 40
  • Position: #413 / 472
  • Number of attempts: 1
I forgot quotes - 15728 entries

Oops.

  • Best score: 10
  • Best player score: 14
  • Position: #1905 / 4114
  • Number of attempts: 3
Strages
Twitter:

entered into 9 challenges

contributed 0 challenges