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 - 34012 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: 26
  • Position: #3588 / 7513
  • Number of attempts: 2
One number per line - 18903 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 21
  • Position: #2374 / 3904
  • Number of attempts: 4
Words in parens - 13053 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 14
  • Position: #180 / 3991
  • Number of attempts: 4
Create a pandoc compatible table - 241 entries

In [this vimcast][1], a featured gist from Tim Pope shows how to quickly make a simple table structure. How fast can you convert it to pandoc's markdown style? [1]: http://vimcasts.org/episodes/aligning-text-with-tabular-vim/

  • Best score: 32
  • Best player score: 47
  • Position: #36 / 58
  • Number of attempts: 2
Python to Ruby - 217 entries

Convert this Python code to Ruby. NOTE: This program likely won't run.

  • Best score: 24
  • Best player score: 55
  • Position: #59 / 63
  • Number of attempts: 1
Recursively Palindrome - 290 entries

Note that there are 2^6-1 characters.

  • Best score: 21
  • Best player score: 40
  • Position: #68 / 76
  • Number of attempts: 1
Exchanging Quotes - 878 entries

Sometimes you need to exchange a choice of quotes in some code.

  • Best score: 30
  • Best player score: 35
  • Position: #96 / 234
  • Number of attempts: 7
Before there was Farmville... - 111 entries

There was old MacDonald. For my toddler. The first Vim sing-a-long?

  • Best score: 156
  • Best player score: 222
  • Position: #27 / 52
  • Number of attempts: 1
HTML to Haml - 905 entries

Help convert this HTML page to Haml.

  • Best score: 23
  • Best player score: 41
  • Position: #122 / 207
  • Number of attempts: 1
expand a list comprehension (python) - 348 entries

Please show your way to convert a list comprehension in python to an ordinary for-loop expression!

  • Best score: 42
  • Best player score: 65
  • Position: #90 / 111
  • Number of attempts: 1
Numbering a List - 1969 entries

Pretty simple, number the list.

  • Best score: 13
  • Best player score: 19
  • Position: #172 / 661
  • Number of attempts: 7
Assignment Alignment - 909 entries

line up the operators. Use spaces, not tabs.

  • Best score: 18
  • Best player score: 31
  • Position: #178 / 226
  • Number of attempts: 1
Steven Occhipinti
Twitter:

entered into 12 challenges

contributed 0 challenges