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

comments galore - 916 entries

Basic comment reformatting

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 1
-a-b-c- - 2854 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 13
  • Number of attempts: 4
That hyphen - 2376 entries

"vim vi improved"

  • Best score: 9
  • Best player score: 9
  • Number of attempts: 4
I forgot quotes - 14259 entries

Oops.

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 4
Vice versa - 6837 entries

Little role switching.

  • Best score: 12
  • Best player score: 12
  • Number of attempts: 6
Collect List - 3874 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 12
  • Number of attempts: 3
Vertical Limit - 2229 entries

transform a succession of one word lines to a an array of strings

  • Best score: 21
  • Best player score: 21
  • Number of attempts: 6
Simple, Practical, and Common - 29781 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: 5
Search and Replace 0 - 4434 entries

Replace every instance of 'aaa' with 'xaaax'.

  • Best score: 12
  • Best player score: 12
  • Number of attempts: 4
Just the middle - 10319 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Number of attempts: 3
V to the i - 4335 entries

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

  • Best score: 7
  • Best player score: 7
  • Number of attempts: 2
A HAPPY NEW YEAR 2014 ! - 10072 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 11
  • Number of attempts: 3
Basic renumbering - 5088 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 11
  • Number of attempts: 2
Aris Kotzias
Twitter:

entered into 13 challenges

contributed 0 challenges