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

Box it - 3958 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 21
  • Number of attempts: 8
Simple, Practical, and Common - 26338 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: 14
  • Best player score: 22
  • Number of attempts: 10
Bad Copy Syntax - 863 entries

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

  • Best score: 19
  • Best player score: 19
  • Number of attempts: 7
Vice versa - 6174 entries

Little role switching.

  • Best score: 12
  • Best player score: 14
  • Number of attempts: 4
One number per line - 13841 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 17
  • Number of attempts: 5
Search and Replace 0 - 4187 entries

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

  • Best score: 12
  • Best player score: 12
  • Number of attempts: 3
I forgot quotes - 12472 entries

Oops.

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 10
Add semicolons - 3648 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Number of attempts: 4
change parenthesis - 172 entries

change the pair of braces into a pair of parentheses

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

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 11
  • Number of attempts: 3
Hxhxhrra
Twitter:

entered into 10 challenges

contributed 0 challenges