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

Add string initializers to an enum - 692 entries

Change Typescript enum so that it has string initializers.

  • Best score: 21
  • Best player score: 28
  • Number of attempts: 4
Add semicolons - 9550 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 12
Box it - 7222 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 30
  • Number of attempts: 3
Subnetting - 79 entries

Split up the IP addresses in the right way.

  • Best score: 29
  • Best player score: 37
  • Number of attempts: 2
comments galore - 930 entries

Basic comment reformatting

  • Best score: 10
  • Best player score: 11
  • Number of attempts: 1
Vice versa - 7215 entries

Little role switching.

  • Best score: 12
  • Best player score: 16
  • Number of attempts: 1
Simple, Practical, and Common - 31982 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
  • Number of attempts: 10
Just the middle - 10891 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 9
  • Number of attempts: 1
Reverse and double space - 424 entries

Reverse the order of the given lines and double space everything

  • Best score: 14
  • Best player score: 27
  • Number of attempts: 1
The meaning - 515 entries

Numbers are fun!

  • Best score: 5
  • Best player score: 5
  • Number of attempts: 1
replacing each line of a block selection - 2706 entries

replace each line's ../assets/js with /javascripts

  • Best score: 18
  • Best player score: 29
  • Number of attempts: 2
Ugly spreadsheet copy/paste to CSV - 768 entries

convert an ugly spreadsheet copy/paste into a CSV format.

  • Best score: 19
  • Best player score: 53
  • Number of attempts: 1
switch variable - 4806 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 11
  • Number of attempts: 9
Replacing some words - 405 entries

How fast could it be?

  • Best score: 17
  • Best player score: 25
  • Number of attempts: 4
Simple text editing with Vim - 11231 entries

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

  • Best score: 13
  • Best player score: 22
  • Number of attempts: 1
bsjd
Twitter:

entered into 15 challenges

contributed 0 challenges