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

Data reformat - 285 entries

Reformat this copy-paste data! #csv

  • Best score: 36
  • Best player score: 96
  • Position: #53 / 62
  • Number of attempts: 3
xrandr outputs and dashes - 670 entries

uh oh, different video drivers identify display outputs with more dashes. Quick, need to change this xrandr script!

  • Best score: 12
  • Best player score: 12
  • Position: #40 / 217
  • Number of attempts: 5
Yo To Hello - 1122 entries

Simply Turn Yo To Hello

  • Best score: 10
  • Best player score: 10
  • Position: #128 / 520
  • Number of attempts: 3
Simple, Practical, and Common - 33427 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: 24
  • Position: #3063 / 7377
  • Number of attempts: 11
prepend * to every non-blank line - 6248 entries

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

  • Best score: 10
  • Best player score: 11
  • Position: #576 / 1526
  • Number of attempts: 5
Add semicolons - 10809 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Position: #1474 / 3050
  • Number of attempts: 3
Box it - 7836 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 23
  • Position: #756 / 1868
  • Number of attempts: 10
Reformat/Refactor a Golfer Class - 6683 entries

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

  • Best score: 32
  • Best player score: 42
  • Position: #973 / 1639
  • Number of attempts: 9
James Elson
Twitter:

Test_Bio

entered into 8 challenges

contributed 0 challenges