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 - 4602 entries

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

  • Best score: 9
  • Best player score: 12
  • Position: #548 / 1124
  • Number of attempts: 3
Yo To Hello - 1156 entries

Simply Turn Yo To Hello

  • Best score: 8
  • Best player score: 10
  • Position: #108 / 537
  • Number of attempts: 1
Simple, Practical, and Common - 34021 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: #4072 / 7517
  • Number of attempts: 2
Get mail address from outlook format - 663 entries

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

  • Best score: 15
  • Best player score: 20
  • Position: #157 / 208
  • Number of attempts: 3
prepend * to every non-blank line - 6397 entries

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

  • Best score: 10
  • Best player score: 18
  • Position: #1186 / 1563
  • Number of attempts: 2
Applying same text modification in several lines - 2931 entries

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

  • Best score: 12
  • Best player score: 14
  • Position: #467 / 867
  • Number of attempts: 6
Add semicolons - 10956 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 12
  • Position: #1916 / 3098
  • Number of attempts: 1
Split line with dots - 2175 entries

This line is too long, split it.

  • Best score: 15
  • Best player score: 26
  • Position: #568 / 639
  • Number of attempts: 2
remove lines containing the word "reader" - 3652 entries

easy stuff

  • Best score: 9
  • Best player score: 11
  • Position: #942 / 1185
  • 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: 16
  • Position: #524 / 910
  • Number of attempts: 2
multiple cursor alternative - 1592 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: #337 / 388
  • Number of attempts: 4
Every other line - 2951 entries

AaAaAaA

  • Best score: 12
  • Best player score: 22
  • Position: #660 / 712
  • Number of attempts: 2
Copy three lines - 2924 entries

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

  • Best score: 13
  • Best player score: 18
  • Position: #355 / 647
  • Number of attempts: 3
Increment each number - 1067 entries

Increment each number individually by one

  • Best score: 15
  • Best player score: 21
  • Position: #180 / 260
  • 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: 47
  • Position: #114 / 168
  • Number of attempts: 3
-a-b-c- - 3242 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 18
  • Position: #1064 / 1147
  • Number of attempts: 1
attr_aligner - 3568 entries

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

  • Best score: 19
  • Best player score: 40
  • Position: #632 / 711
  • Number of attempts: 2
Reformat/Refactor a Golfer Class - 7694 entries

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

  • Best score: 7
  • Best player score: 55
  • Position: #1619 / 1893
  • 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