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

Add to end of each line... kinda - 280 entries

Visual-block mode can be used to add something to the end of each line, even if they are of differing lengths. However, what if it's not quite at the end?

  • Best score: 12
  • Best player score: 21
  • Number of attempts: 1
Simple, Practical, and Common - 31316 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: 38
  • Number of attempts: 2
A HAPPY NEW YEAR 2014 ! - 10267 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 18
  • Number of attempts: 2
Fix the XML - 908 entries

The challenge consists in having a valid xml from an incomplete source.

  • Best score: 18
  • Best player score: 62
  • Number of attempts: 1
Collect List - 4008 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 72
  • Number of attempts: 1
Make HTML List - 923 entries

Turn the comma separated list into an unordered html list.

  • Best score: 33
  • Best player score: 59
  • Number of attempts: 3
V to the i - 4462 entries

Input is 99 V's. Output is 100 i's.

  • Best score: 7
  • Best player score: 23
  • Number of attempts: 1
-a-b-c- - 2955 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 19
  • Number of attempts: 1
comments galore - 928 entries

Basic comment reformatting

  • Best score: 10
  • Best player score: 21
  • Number of attempts: 2
switch variable - 4741 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 18
  • Number of attempts: 1

Contributed Challenges

comments galore - 928 entries

Basic comment reformatting

Theodore DeRego
Twitter:

entered into 10 challenges

contributed 1 challenges