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

Migrated to Postgres! - 250 entries

Celebration completion of this project. https://github.com/igrigorik/vimgolf/pull/322

  • Best score: 26
  • Best player score: 27
  • Position: #28 / 99
  • Number of attempts: 1
simple replacements - 1202 entries

The goal is to see the replacement commands in action.

  • Best score: 19
  • Best player score: 27
  • Position: #216 / 268
  • Number of attempts: 2
Multiline to Single Line - 554 entries

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

  • Best score: 5
  • Best player score: 5
  • Position: #33 / 249
  • Number of attempts: 2
Yo To Hello - 1069 entries

Simply Turn Yo To Hello

  • Best score: 10
  • Best player score: 10
  • Position: #153 / 491
  • Number of attempts: 5
Simple, Practical, and Common - 33086 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: 22
  • Position: #2198 / 7297
  • Number of attempts: 8
prepend * to every non-blank line - 6081 entries

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

  • Best score: 10
  • Best player score: 10
  • Position: #235 / 1485
  • Number of attempts: 7
Add semicolons - 10717 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Position: #1499 / 3020
  • Number of attempts: 4
Eric Link
Twitter:

entered into 7 challenges

contributed 0 challenges