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 - 33982 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: 31
  • Position: #5660 / 7508
  • Number of attempts: 1
One number per line - 18894 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 28
  • Position: #3590 / 3901
  • Number of attempts: 2
Applying same text modification in several lines - 2929 entries

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

  • Best score: 12
  • Best player score: 17
  • Position: #651 / 866
  • Number of attempts: 1
Box it - 7999 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 32
  • Position: #1500 / 1899
  • Number of attempts: 1
Extract argument from function - 2401 entries

The aim is to see if you can do some refactoring very fast.

  • Best score: 13
  • Best player score: 20
  • Position: #717 / 768
  • Number of attempts: 1
That hyphen - 2624 entries

"vim vi improved"

  • Best score: 9
  • Best player score: 16
  • Position: #635 / 708
  • Number of attempts: 1
I forgot quotes - 16185 entries

Oops.

  • Best score: 10
  • Best player score: 14
  • Position: #1860 / 4221
  • Number of attempts: 3
-a-b-c- - 3237 entries

Put hyphens everywhere.

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

A HAPPY NEW YEAR 2014 !

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

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 11
  • Position: #546 / 1761
  • Number of attempts: 2
Make it more readable - 2036 entries

Insert blank lines to make it more organized and readable

  • Best score: 13
  • Best player score: 16
  • Position: #417 / 657
  • Number of attempts: 1
Michaël Lévesque-Dion
Twitter:

entered into 11 challenges

contributed 0 challenges