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

Multiline to Single Line - 736 entries

Convert a multiline, indented file to a single line with no whitespace

  • Best score: 5
  • Best player score: 5
  • Position: #46 / 312
  • Number of attempts: 2
Simple, Practical, and Common - 33757 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: #280 / 7450
  • Number of attempts: 7
prepend * to every non-blank line - 6358 entries

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

  • Best score: 10
  • Best player score: 17
  • Position: #1138 / 1551
  • Number of attempts: 3
One number per line - 18780 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 21
  • Position: #2323 / 3877
  • Number of attempts: 7
Split line with dots - 2154 entries

This line is too long, split it.

  • Best score: 15
  • Best player score: 21
  • Position: #398 / 635
  • Number of attempts: 1
Box it - 7939 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 43
  • Position: #1753 / 1885
  • Number of attempts: 1
Vice versa - 7967 entries

Little role switching.

  • Best score: 12
  • Best player score: 15
  • Position: #1020 / 2144
  • Number of attempts: 3
WhatDo
Twitter:

entered into 7 challenges

contributed 0 challenges