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 - 33972 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
  • Position: #6979 / 7505
  • Number of attempts: 2
V to the i - 4861 entries

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

  • Best score: 7
  • Best player score: 23
  • Position: #1911 / 1911
  • Number of attempts: 1
Make HTML List - 1071 entries

Turn the comma separated list into an unordered html list.

  • Best score: 33
  • Best player score: 59
  • Position: #259 / 275
  • Number of attempts: 3
Add to end of each line... kinda - 345 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
  • Position: #178 / 178
  • Number of attempts: 1
comments galore - 1079 entries

Basic comment reformatting

  • Best score: 10
  • Best player score: 21
  • Position: #416 / 431
  • Number of attempts: 2
Collect List - 4333 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 72
  • Position: #1194 / 1197
  • Number of attempts: 1
Fix the XML - 1050 entries

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

  • Best score: 18
  • Best player score: 62
  • Position: #289 / 291
  • Number of attempts: 1
-a-b-c- - 3237 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 19
  • Position: #1067 / 1145
  • Number of attempts: 1
A HAPPY NEW YEAR 2014 ! - 10749 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 18
  • Position: #3478 / 3712
  • Number of attempts: 2
switch variable - 5120 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 18
  • Position: #1649 / 1761
  • Number of attempts: 1

Contributed Challenges

comments galore - 1079 entries

Basic comment reformatting

Theodore DeRego
Twitter:

entered into 10 challenges

contributed 1 challenges