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

C to python code snippet - 30 entries

C code can be easily translated into Python code. However, the difference in syntax can make this process tedious and time-consuming. Can Vim help you here?

  • Best score: 48
  • Best player score: 102
  • Position: #9 / 10
  • Number of attempts: 1
Rural Post - 3713 entries

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

  • Best score: 9
  • Best player score: 14
  • Position: #539 / 918
  • Number of attempts: 3
Multiline to Single Line - 320 entries

Convert a multiline, indented file to a single line with no whitespace

  • Best score: 5
  • Best player score: 5
  • Position: #71 / 151
  • Number of attempts: 1
From a Thunderlink to a Markdown link - 587 entries

ThunderLinks are durable hyperlinks to specific email messages generated from Thunderbird in HTML format. Leverage the power of vim to make them suitable for a markdown-formatted file.

  • Best score: 18
  • Best player score: 20
  • Position: #57 / 136
  • Number of attempts: 2
Yo To Hello - 877 entries

Simply Turn Yo To Hello

  • Best score: 10
  • Best player score: 11
  • Position: #330 / 412
  • Number of attempts: 1
Simple, Practical, and Common - 32743 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: 34
  • Position: #6284 / 7235
  • Number of attempts: 1
prepend * to every non-blank line - 5776 entries

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

  • Best score: 10
  • Best player score: 16
  • Position: #960 / 1421
  • Number of attempts: 2
Quote modules - 981 entries

Complete golang import statement.

  • Best score: 21
  • Best player score: 28
  • Position: #167 / 250
  • Number of attempts: 1
V to the i - 4596 entries

Input is 99 V's. Output is 100 i's.

  • Best score: 7
  • Best player score: 9
  • Position: #1689 / 1837
  • Number of attempts: 2
Applying same text modification in several lines - 2699 entries

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

  • Best score: 12
  • Best player score: 16
  • Position: #575 / 803
  • Number of attempts: 2
Copy three lines - 2751 entries

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

  • Best score: 13
  • Best player score: 20
  • Position: #408 / 616
  • Number of attempts: 2
Basic renumbering - 5393 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 26
  • Position: #1134 / 1218
  • Number of attempts: 2
mp3 - Cutlist - 28 entries

An audio CD was accidentally ripped into one single mp3 file. A dummy cue-file now needs to be filled out with the correct values to get single mp3 files.

  • Best score: 67
  • Best player score: 139
  • Position: #7 / 11
  • Number of attempts: 2
Reorder the groups - 1071 entries

Change the order so that the groups of fruit come before the vegetables.

  • Best score: 14
  • Best player score: 24
  • Position: #195 / 246
  • Number of attempts: 3
Sergio
Twitter:

entered into 14 challenges

contributed 0 challenges