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

One number per line - 18840 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 20
  • Position: #2249 / 3893
  • Number of attempts: 7
V to the i - 4833 entries

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

  • Best score: 7
  • Best player score: 8
  • Position: #1397 / 1904
  • Number of attempts: 3
Applying same text modification in several lines - 2920 entries

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

  • Best score: 12
  • Best player score: 14
  • Position: #403 / 864
  • Number of attempts: 1
Add semicolons - 10923 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Position: #934 / 3087
  • Number of attempts: 6
remove lines containing the word "reader" - 3631 entries

easy stuff

  • Best score: 9
  • Best player score: 10
  • Position: #648 / 1179
  • Number of attempts: 3
Box it - 7987 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 35
  • Position: #1636 / 1895
  • Number of attempts: 1
Just the middle - 11555 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #2896 / 4234
  • Number of attempts: 1
One to Ten - 2243 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: 23
  • Position: #623 / 683
  • Number of attempts: 1
Join 'em - 254 entries

This shouldn't be too tough

  • Best score: 4
  • Best player score: 5
  • Position: #94 / 153
  • Number of attempts: 1
Delete to the end of the current line - 865 entries

Delete to the end of the current line, but keep the character under the cursor.

  • Best score: 5
  • Best player score: 6
  • Position: #335 / 415
  • Number of attempts: 1
change parenthesis - 301 entries

change the pair of braces into a pair of parentheses

  • Best score: 9
  • Best player score: 10
  • Position: #116 / 163
  • Number of attempts: 1
I forgot quotes - 16127 entries

Oops.

  • Best score: 10
  • Best player score: 14
  • Position: #1886 / 4208
  • Number of attempts: 1
Words in parens - 13005 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 17
  • Position: #2742 / 3979
  • Number of attempts: 1
Pittson
Twitter:

entered into 13 challenges

contributed 0 challenges