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

Many duplicates - 1350 entries

Quick and easy

  • Best score: 7
  • Best player score: 8
  • Position: #140 / 440
  • Number of attempts: 7
delete swap - 1650 entries

delete all swap

  • Best score: 5
  • Best player score: 5
  • Position: #119 / 514
  • Number of attempts: 2
Put a newline after every 10 lines in vim - 1649 entries

Goal is to put a newline after every 10 lines in vim.

  • Best score: 10
  • Best player score: 13
  • Position: #359 / 551
  • Number of attempts: 2
Rural Post - 4427 entries

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

  • Best score: 9
  • Best player score: 47
  • Position: #1048 / 1086
  • Number of attempts: 2
Simple, Practical, and Common - 33483 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: 31
  • Position: #5693 / 7384
  • Number of attempts: 3
Applying same text modification in several lines - 2851 entries

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

  • Best score: 12
  • Best player score: 25
  • Position: #765 / 843
  • Number of attempts: 1
Add semicolons - 10831 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Position: #1610 / 3055
  • Number of attempts: 5
Box it - 7849 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 68
  • Position: #1821 / 1870
  • Number of attempts: 5
I forgot quotes - 15946 entries

Oops.

  • Best score: 10
  • Best player score: 18
  • Position: #3374 / 4166
  • Number of attempts: 3
.
Twitter:

entered into 9 challenges

contributed 0 challenges