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

Simple, Practical, and Common - 26754 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
  • Number of attempts: 10
I forgot quotes - 12699 entries

Oops.

  • Best score: 10
  • Best player score: 19
  • Number of attempts: 3
Delete to the end of the current line - 540 entries

Delete to the end of the current line, but keep the character under the cursor.

  • Best score: 5
  • Best player score: 5
  • Number of attempts: 2
remove lines containing the word "reader" - 2167 entries

easy stuff

  • Best score: 9
  • Best player score: 9
  • Number of attempts: 7
Add semicolons - 4237 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Number of attempts: 7
One number per line - 14126 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 21
  • Number of attempts: 5
Applying same text modification in several lines - 1984 entries

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

  • Best score: 13
  • Best player score: 16
  • Number of attempts: 1
Ninja Knife
Twitter:

nyes

entered into 7 challenges

contributed 0 challenges