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

Rural Post - 4072 entries

Simple challenge to remove all but the post code on each line

  • Best score: 9
  • Best player score: 12
  • Position: #475 / 1008
  • Number of attempts: 3
Yo To Hello - 1042 entries

Simply Turn Yo To Hello

  • Best score: 10
  • Best player score: 10
  • Position: #107 / 477
  • Number of attempts: 1
Simple, Practical, and Common - 32879 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: 27
  • Position: #3952 / 7266
  • Number of attempts: 2
Get mail address from outlook format - 586 entries

Create a mail list space separated of mail list formatted by outlook

  • Best score: 15
  • Best player score: 20
  • Position: #135 / 180
  • Number of attempts: 3
prepend * to every non-blank line - 5946 entries

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

  • Best score: 10
  • Best player score: 18
  • Position: #1102 / 1459
  • Number of attempts: 2
Applying same text modification in several lines - 2741 entries

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

  • Best score: 12
  • Best player score: 14
  • Position: #436 / 813
  • Number of attempts: 6
Add semicolons - 10527 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 12
  • Position: #1838 / 2986
  • Number of attempts: 1
Split line with dots - 2087 entries

This line is too long, split it.

  • Best score: 15
  • Best player score: 26
  • Position: #555 / 620
  • Number of attempts: 2
remove lines containing the word "reader" - 3450 entries

easy stuff

  • Best score: 9
  • Best player score: 11
  • Position: #886 / 1119
  • Number of attempts: 3
Com(m)a Trouble - 3369 entries

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

  • Best score: 12
  • Best player score: 16
  • Position: #448 / 758
  • Number of attempts: 2
multiple cursor alternative - 1441 entries

from: https://www.reddit.com/r/vim/comments/6w5pfa/crosspost_from_remacs_how_would_you_do_this_in_vim/

  • Best score: 19
  • Best player score: 28
  • Position: #318 / 368
  • Number of attempts: 4
Every other line - 2815 entries

AaAaAaA

  • Best score: 12
  • Best player score: 22
  • Position: #634 / 683
  • Number of attempts: 2
Copy three lines - 2785 entries

If the site is up (by some miracle), make the text under every header identical.

  • Best score: 13
  • Best player score: 18
  • Position: #344 / 623
  • Number of attempts: 3
Increment each number - 946 entries

Increment each number individually by one

  • Best score: 15
  • Best player score: 21
  • Position: #167 / 233
  • Number of attempts: 2
Put the months in order - 915 entries

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

  • Best score: 20
  • Best player score: 47
  • Position: #104 / 155
  • Number of attempts: 3
-a-b-c- - 3107 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 18
  • Position: #1028 / 1109
  • Number of attempts: 1
attr_aligner - 3387 entries

Two attr keywords. Two separate indentations. Align the colons.

  • Best score: 19
  • Best player score: 40
  • Position: #608 / 683
  • Number of attempts: 2
Reformat/Refactor a Golfer Class - 5973 entries

A simple case of removing unneeded code and fixing broken indentation.

  • Best score: 32
  • Best player score: 55
  • Position: #1335 / 1475
  • Number of attempts: 1
Ed Leafe
Twitter:

Photographer. Python developer extraordinaire. I speak my mind, and I don't speak for anyone else.

entered into 18 challenges

contributed 0 challenges