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

On Being Stylish - 50 entries

Your PR cannot be accepted if you don't follow our corporate style guide.

  • Best score: 33
  • Best player score: 56
  • Number of attempts: 1
Generate a list of numbers - 253 entries

Please generate list of numbers from 1 to 20.

  • Best score: 14
  • Best player score: 14
  • Number of attempts: 1
Space out the alphabet - 1413 entries

Put 3 spaces between adjacent letters.

  • Best score: 15
  • Best player score: 16
  • Number of attempts: 4
Lisp Condense - 391 entries

Reduce 4 cons selection operations down to one function call.

  • Best score: 13
  • Best player score: 14
  • Number of attempts: 3
Number Sort - 248 entries

sort the list of newline-separated numbers incrementally. Numbers are in the range 1 to 1000, with 500 missing

  • Best score: 9
  • Best player score: 9
  • Number of attempts: 1
VimGolfNight - 463 entries

Based on "The name of the game".

  • Best score: 12
  • Best player score: 12
  • Number of attempts: 1
Change your calendar - 263 entries

Happy New Year!

  • Best score: 18
  • Best player score: 18
  • Number of attempts: 18
Swap assigned value - 499 entries

Simple problem but looking for interesting solutions.

  • Best score: 10
  • Best player score: 11
  • Number of attempts: 2
Increment, increment, increment.... - 493 entries

Vim likes macros

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 2
Counting in binary - 393 entries

"a" represents 0; "A" represents 1. Start from zero and count to 15.

  • Best score: 16
  • Best player score: 16
  • Number of attempts: 11
The meaning - 504 entries

Numbers are fun!

  • Best score: 5
  • Best player score: 5
  • Number of attempts: 1
Binary and Increment - 41 entries

Some numbers fun: not only increasing numbers but also increasing binary.

  • Best score: 22
  • Best player score: 23
  • Number of attempts: 3
Sorting a glossary - 101 entries

Sort a glossary. Glossary head contains a header phrase ending with ':' and glossary body has multi line text indented with a tab.

  • Best score: 6
  • Best player score: 7
  • Number of attempts: 1
Round Round - 240 entries

Round Round

  • Best score: 19
  • Best player score: 43
  • Number of attempts: 3
A Simple One - 849 entries

Here is a very simple one - just to illustrate/introduce a vim feature that some people seem to miss...

  • Best score: 9
  • Best player score: 9
  • Number of attempts: 1
Basic renumbering - 4829 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 17
  • Number of attempts: 1
120 Degrees - 370 entries

Rotate that triangle.

  • Best score: 14
  • Best player score: 26
  • Number of attempts: 1
Swap values inside brackets - 1757 entries

Easy challenge.

  • Best score: 13
  • Best player score: 17
  • Number of attempts: 6
Sort by your own sum - 42 entries

Same numbers as last time, but you'll have to add them yourself.

  • Best score: 25
  • Best player score: 38
  • Number of attempts: 1
Reformat/Refactor a Golfer Class - 5569 entries

A simple case of removing unneeded code and fixing broken indentation.

  • Best score: 32
  • Best player score: 38
  • Number of attempts: 1
Multiplication table. - 182 entries

Create a multiplication table.

  • Best score: 31
  • Best player score: 65
  • Number of attempts: 1
Assign numbers to fields - 85 entries

You are given a list of space-separated strings. Add an increasing numeric prefix to each one.

  • Best score: 19
  • Best player score: 20
  • Number of attempts: 1
Simple, Practical, and Common - 26805 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: 7
Vertical Limit - 2167 entries

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

  • Best score: 21
  • Best player score: 23
  • Number of attempts: 2
Timur Celik
Twitter:

entered into 24 challenges

contributed 0 challenges