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

Inverting Lines - 1296 entries

A simple challenge to invert all lines, except the first.

  • Best score: 10
  • Best player score: 10
  • Position: #89 / 363
  • Number of attempts: 3
Modernise code - 822 entries

Modernise and clean up some C++ code.

  • Best score: 34
  • Best player score: 48
  • Position: #134 / 190
  • Number of attempts: 1
Yo To Hello - 1048 entries

Simply Turn Yo To Hello

  • Best score: 10
  • Best player score: 12
  • Position: #444 / 481
  • Number of attempts: 3
Simple, Practical, and Common - 32904 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: #1963 / 7270
  • Number of attempts: 9
One number per line - 18377 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 14
  • Position: #569 / 3787
  • Number of attempts: 1
V to the i - 4639 entries

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

  • Best score: 7
  • Best player score: 8
  • Position: #1393 / 1856
  • Number of attempts: 2
Applying same text modification in several lines - 2748 entries

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

  • Best score: 12
  • Best player score: 13
  • Position: #186 / 815
  • Number of attempts: 4
Add semicolons - 10539 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Position: #1077 / 2988
  • Number of attempts: 2
Bad Copy Syntax - 1938 entries

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

  • Best score: 18
  • Best player score: 22
  • Position: #304 / 493
  • Number of attempts: 1
Com(m)a Trouble - 3376 entries

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

  • Best score: 12
  • Best player score: 15
  • Position: #382 / 760
  • Number of attempts: 4
Two pairs of cluster of letters creates word - 710 entries

Clean and group.

  • Best score: 17
  • Best player score: 18
  • Position: #79 / 166
  • Number of attempts: 3
Every other line - 2829 entries

AaAaAaA

  • Best score: 12
  • Best player score: 12
  • Position: #48 / 686
  • Number of attempts: 8
Search and Replace 0 - 4651 entries

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

  • Best score: 12
  • Best player score: 12
  • Position: #618 / 1541
  • Number of attempts: 4
Basic renumbering - 5430 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 16
  • Position: #547 / 1227
  • Number of attempts: 7
Change part of a function name in multiple occurrences - 598 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
  • Position: #106 / 191
  • Number of attempts: 2
Space out the alphabet - 1590 entries

Put 3 spaces between adjacent letters.

  • Best score: 15
  • Best player score: 25
  • Position: #386 / 433
  • Number of attempts: 1
switch variable - 4917 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 11
  • Position: #578 / 1701
  • Number of attempts: 6
Harrison
Twitter:

entered into 17 challenges

contributed 0 challenges