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 - 34033 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
  • Position: #6699 / 7519
  • Number of attempts: 1
Add text at some column - 184 entries

Complete golang struct statement.

  • Best score: 31
  • Best player score: 46
  • Position: #67 / 69
  • Number of attempts: 3
prepend * to every non-blank line - 6399 entries

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

  • Best score: 10
  • Best player score: 15
  • Position: #941 / 1564
  • Number of attempts: 2
One number per line - 18911 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 22
  • Position: #2800 / 3907
  • Number of attempts: 2
Applying same text modification in several lines - 2937 entries

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

  • Best score: 12
  • Best player score: 14
  • Position: #454 / 868
  • Number of attempts: 8
Add string initializers to an enum - 903 entries

Change Typescript enum so that it has string initializers.

  • Best score: 21
  • Best player score: 27
  • Position: #197 / 266
  • Number of attempts: 1
Add semicolons - 10958 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 12
  • Position: #1890 / 3098
  • Number of attempts: 2
remove lines containing the word "reader" - 3658 entries

easy stuff

  • Best score: 9
  • Best player score: 12
  • Position: #979 / 1187
  • Number of attempts: 3
Com(m)a Trouble - 3993 entries

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

  • Best score: 12
  • Best player score: 31
  • Position: #811 / 910
  • Number of attempts: 4
Box it - 8003 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 32
  • Position: #1523 / 1901
  • Number of attempts: 1
Search and Replace 0 - 5167 entries

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

  • Best score: 12
  • Best player score: 12
  • Position: #643 / 1677
  • Number of attempts: 3
That hyphen - 2649 entries

"vim vi improved"

  • Best score: 9
  • Best player score: 12
  • Position: #489 / 712
  • Number of attempts: 7
Just the middle - 11630 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Position: #1355 / 4261
  • Number of attempts: 5
Vice versa - 8021 entries

Little role switching.

  • Best score: 12
  • Best player score: 16
  • Position: #1422 / 2158
  • Number of attempts: 2
change parenthesis - 311 entries

change the pair of braces into a pair of parentheses

  • Best score: 9
  • Best player score: 9
  • Position: #72 / 165
  • Number of attempts: 2
Put the months in order - 1001 entries

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

  • Best score: 20
  • Best player score: 54
  • Position: #143 / 168
  • Number of attempts: 1
I forgot quotes - 16240 entries

Oops.

  • Best score: 10
  • Best player score: 14
  • Position: #1953 / 4226
  • Number of attempts: 1
Nick Lee
Twitter:

I'm a cat

entered into 17 challenges

contributed 0 challenges