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

Applying same text modification in several lines - 2516 entries

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

  • Best score: 13
  • Best player score: 13
  • Number of attempts: 4
Search and Replace 0 - 4450 entries

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

  • Best score: 12
  • Best player score: 12
  • Number of attempts: 4
Add semicolons - 8482 entries

Simply add a semicolon at the end of each line

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

Just give me the numbers.

  • Best score: 14
  • Best player score: 14
  • Number of attempts: 1
switch variable - 4696 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 11
  • Number of attempts: 6
Change part of a function name in multiple occurrences - 559 entries

Change the middle part of the function name in multiple places, preferably using the next and dot commands.

  • Best score: 14
  • Best player score: 15
  • Number of attempts: 2
Every other line - 2558 entries

AaAaAaA

  • Best score: 12
  • Best player score: 12
  • Number of attempts: 8
Two pairs of cluster of letters creates word - 654 entries

Clean and group.

  • Best score: 17
  • Best player score: 18
  • Number of attempts: 3
Com(m)a Trouble - 2876 entries

Someone was real stupid when placing his commas. Can you fix it?

  • Best score: 12
  • Best player score: 15
  • Number of attempts: 4
Basic renumbering - 5173 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 16
  • Number of attempts: 7
Bad Copy Syntax - 1664 entries

Copy should be from right to left, but sometimes you type it wrong.

  • Best score: 19
  • Best player score: 22
  • Number of attempts: 1
Simple, Practical, and Common - 30712 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: 9
V to the i - 4420 entries

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

  • Best score: 7
  • Best player score: 8
  • Number of attempts: 2
Space out the alphabet - 1479 entries

Put 3 spaces between adjacent letters.

  • Best score: 15
  • Best player score: 25
  • Number of attempts: 1
Harrison
Twitter:

entered into 14 challenges

contributed 0 challenges