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

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

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

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 28
  • Position: #143 / 603
  • Number of attempts: 8
Simple, Practical, and Common - 33724 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 / 7442
  • Number of attempts: 8
prepend * to every non-blank line - 6337 entries

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

  • Best score: 10
  • Best player score: 12
  • Position: #792 / 1546
  • Number of attempts: 3
Quote modules - 1090 entries

Complete golang import statement.

  • Best score: 21
  • Best player score: 36
  • Position: #252 / 283
  • Number of attempts: 2
Swap values inside brackets - 2511 entries

Easy challenge.

  • Best score: 13
  • Best player score: 14
  • Position: #44 / 583
  • Number of attempts: 7
Add semicolons - 10881 entries

Simply add a semicolon at the end of each line

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

Create a box around a line.

  • Best score: 21
  • Best player score: 22
  • Position: #485 / 1881
  • Number of attempts: 8
Vice versa - 7945 entries

Little role switching.

  • Best score: 12
  • Best player score: 19
  • Position: #1836 / 2138
  • Number of attempts: 6
I forgot quotes - 16022 entries

Oops.

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

entered into 10 challenges

contributed 0 challenges