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 - 33801 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: 25
  • Position: #3345 / 7459
  • Number of attempts: 3
V to the i - 4826 entries

Input is 99 V's. Output is 100 i's.

  • Best score: 7
  • Best player score: 7
  • Position: #633 / 1900
  • Number of attempts: 2
Applying same text modification in several lines - 2910 entries

Remove identical text at the beginning of several lines and the closing parenthesis.

  • Best score: 12
  • Best player score: 17
  • Position: #644 / 861
  • Number of attempts: 1
remove lines containing the word "reader" - 3616 entries

easy stuff

  • Best score: 9
  • Best player score: 9
  • Position: #137 / 1174
  • Number of attempts: 4
Box it - 7956 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 24
  • Position: #825 / 1887
  • Number of attempts: 2
Every other line - 2922 entries

AaAaAaA

  • Best score: 12
  • Best player score: 23
  • Position: #666 / 706
  • Number of attempts: 1
Copy three lines - 2875 entries

If the site is up (by some miracle), make the text under every header identical.

  • Best score: 13
  • Best player score: 19
  • Position: #383 / 641
  • Number of attempts: 1
Flip the bit - 136 entries

Change the specific 0 to a 1.

  • Best score: 8
  • Best player score: 10
  • Position: #57 / 77
  • Number of attempts: 1
One to Ten - 2240 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: 14
  • Position: #451 / 681
  • Number of attempts: 1
convert yml into java pojo field - 866 entries

How fast vim can create fields for java pojo i.e class declaration referring to a (simple) yml file

  • Best score: 29
  • Best player score: 32
  • Position: #157 / 229
  • Number of attempts: 1
I forgot quotes - 16075 entries

Oops.

  • Best score: 10
  • Best player score: 15
  • Position: #2293 / 4198
  • Number of attempts: 2
-a-b-c- - 3216 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 17
  • Position: #1017 / 1138
  • Number of attempts: 1
A HAPPY NEW YEAR 2014 ! - 10703 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 16
  • Position: #3315 / 3696
  • Number of attempts: 1
Saphire Lattice
Twitter:

A lurking dragoness who doesn't checks Twitter that often. Thinks programming is shiny and meddles with foreign language

entered into 13 challenges

contributed 0 challenges