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

Poorly indented Python comments - 1217 entries

Fix the alignment of some Python comments as quickly as possible.

  • Best score: 15
  • Best player score: 15
  • Position: #21 / 206
  • Number of attempts: 13
Fix the shell script! - 2373 entries

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 28
  • Position: #137 / 550
  • Number of attempts: 8
Simple, Practical, and Common - 33419 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: #1836 / 7374
  • Number of attempts: 8
prepend * to every non-blank line - 6245 entries

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

  • Best score: 10
  • Best player score: 12
  • Position: #780 / 1525
  • Number of attempts: 3
Quote modules - 1060 entries

Complete golang import statement.

  • Best score: 21
  • Best player score: 36
  • Position: #246 / 276
  • Number of attempts: 2
Swap values inside brackets - 2464 entries

Easy challenge.

  • Best score: 14
  • Best player score: 14
  • Position: #43 / 569
  • Number of attempts: 7
Add semicolons - 10803 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 10
  • Position: #414 / 3048
  • Number of attempts: 7
Box it - 7830 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 22
  • Position: #483 / 1867
  • Number of attempts: 8
Vice versa - 7813 entries

Little role switching.

  • Best score: 12
  • Best player score: 19
  • Position: #1813 / 2106
  • Number of attempts: 6
I forgot quotes - 15935 entries

Oops.

  • Best score: 10
  • Best player score: 11
  • Position: #1184 / 4163
  • Number of attempts: 11
Mens Jender
Twitter:

entered into 10 challenges

contributed 0 challenges