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

remove lines containing the word "reader" - 2908 entries

easy stuff

  • Best score: 9
  • Best player score: 12
  • Number of attempts: 3
Vice versa - 6919 entries

Little role switching.

  • Best score: 12
  • Best player score: 16
  • Number of attempts: 2
Add string initializers to an enum - 619 entries

Change Typescript enum so that it has string initializers.

  • Best score: 21
  • Best player score: 27
  • Number of attempts: 1
Com(m)a Trouble - 2793 entries

Someone was real stupid when placing his commas. Can you fix it?

  • Best score: 12
  • Best player score: 31
  • Number of attempts: 4
One number per line - 16559 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 22
  • Number of attempts: 2
Simple, Practical, and Common - 30262 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: 35
  • Number of attempts: 1
Put the months in order - 762 entries

Our contractor thought that months should be in alphabetical order. Put them in calendar order please.

  • Best score: 20
  • Best player score: 54
  • Number of attempts: 1
change parenthesis - 219 entries

change the pair of braces into a pair of parentheses

  • Best score: 9
  • Best player score: 9
  • Number of attempts: 2
Box it - 6277 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 32
  • Number of attempts: 1
That hyphen - 2389 entries

"vim vi improved"

  • Best score: 9
  • Best player score: 12
  • Number of attempts: 7
Just the middle - 10428 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Number of attempts: 5
I forgot quotes - 14455 entries

Oops.

  • Best score: 10
  • Best player score: 14
  • Number of attempts: 1
Applying same text modification in several lines - 2443 entries

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

  • Best score: 13
  • Best player score: 14
  • Number of attempts: 8
prepend * to every non-blank line - 3254 entries

Prepend an asterisk to every non-blank line in the input file.

  • Best score: 10
  • Best player score: 15
  • Number of attempts: 2
Add text at some column - 112 entries

Complete golang struct statement.

  • Best score: 31
  • Best player score: 46
  • Number of attempts: 3
Search and Replace 0 - 4444 entries

Replace every instance of 'aaa' with 'xaaax'.

  • Best score: 12
  • Best player score: 12
  • Number of attempts: 3
Add semicolons - 8123 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 12
  • Number of attempts: 2
Nick Lee
Twitter:

I'm a cat

entered into 17 challenges

contributed 0 challenges