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 - 32910 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: #1809 / 7271
  • Number of attempts: 9
Add semicolons - 10539 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 10
  • Position: #28 / 2988
  • Number of attempts: 9
Box it - 7680 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 21
  • Position: #110 / 1835
  • Number of attempts: 8
Just the middle - 11136 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Position: #1271 / 4112
  • Number of attempts: 5
ninja substitution - 1300 entries

How can you reuse a previous substitution ?

  • Best score: 14
  • Best player score: 14
  • Position: #24 / 247
  • Number of attempts: 8
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: #129 / 641
  • Number of attempts: 6
Around the clock - 174 entries

You'll want to use 2 special commands to complete this. If you haven't yet, read through 'input.txt', especially :help simple-changes

  • Best score: 13
  • Best player score: 13
  • Position: #15 / 67
  • Number of attempts: 5
Join 'em - 228 entries

This shouldn't be too tough

  • Best score: 4
  • Best player score: 5
  • Position: #24 / 134
  • Number of attempts: 1
I forgot quotes - 15740 entries

Oops.

  • Best score: 10
  • Best player score: 10
  • Position: #878 / 4115
  • Number of attempts: 12
A HAPPY NEW YEAR 2014 ! - 10533 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 11
  • Position: #1394 / 3637
  • Number of attempts: 3
Words in parens - 12736 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 14
  • Position: #983 / 3919
  • Number of attempts: 7
Eirik Furuseth
Twitter:

Fake news? Nah, old news

entered into 11 challenges

contributed 0 challenges