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 - 33787 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: 31
  • Position: #5690 / 7454
  • Number of attempts: 2
Hogwarts Email Sorting - 930 entries

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

  • Best score: 20
  • Best player score: 26
  • Position: #211 / 263
  • Number of attempts: 1
Quote modules - 1094 entries

Complete golang import statement.

  • Best score: 21
  • Best player score: 31
  • Position: #228 / 285
  • Number of attempts: 3
Aliases for cd - 881 entries

Create these beautiful aliases with as few strokes as possible. Are you up for the challenge?

  • Best score: 30
  • Best player score: 59
  • Position: #125 / 156
  • Number of attempts: 2
Swap values inside brackets - 2521 entries

Easy challenge.

  • Best score: 13
  • Best player score: 27
  • Position: #528 / 585
  • Number of attempts: 4
V to the i - 4824 entries

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

  • Best score: 7
  • Best player score: 7
  • Position: #718 / 1899
  • Number of attempts: 2
Applying same text modification in several lines - 2907 entries

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

  • Best score: 12
  • Best player score: 28
  • Position: #791 / 860
  • Number of attempts: 1
Add semicolons - 10899 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 16
  • Position: #2474 / 3078
  • Number of attempts: 1
remove lines containing the word "reader" - 3614 entries

easy stuff

  • Best score: 9
  • Best player score: 13
  • Position: #1003 / 1173
  • Number of attempts: 4
Box it - 7954 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 24
  • Position: #930 / 1886
  • Number of attempts: 11
Just the middle - 11509 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Position: #1364 / 4218
  • Number of attempts: 2
Vice versa - 7968 entries

Little role switching.

  • Best score: 12
  • Best player score: 30
  • Position: #2054 / 2144
  • Number of attempts: 1
Line under headers - 2072 entries

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

  • Best score: 24
  • Best player score: 28
  • Position: #235 / 510
  • Number of attempts: 4
I forgot quotes - 16061 entries

Oops.

  • Best score: 10
  • Best player score: 44
  • Position: #4178 / 4195
  • Number of attempts: 1
Simple text editing with Vim - 13123 entries

Make the pairs of lines match up by making each second line same as first

  • Best score: 13
  • Best player score: 13
  • Position: #622 / 3774
  • Number of attempts: 4
{{ profile.name }}
Twitter:

coding shit

entered into 15 challenges

contributed 0 challenges