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

Surround the 'z' character with brackets, quotes, and print as formatted string. - 491 entries

Surround the 'z' character with brackets, quotes, and print as formatted string.

  • Best score: 17
  • Best player score: 17
  • Position: #12 / 276
  • Number of attempts: 1
Easier Align - 350 entries

Align the columns of a markdown table

  • Best score: 51
  • Best player score: 179
  • Position: #49 / 91
  • Number of attempts: 1
Paste a column after a column - 2305 entries

This task is very common while using multi-cursor. What is the elegant vim way ?

  • Best score: 14
  • Best player score: 18
  • Position: #223 / 499
  • Number of attempts: 6
Put a newline after every 10 lines in vim - 1594 entries

Goal is to put a newline after every 10 lines in vim.

  • Best score: 10
  • Best player score: 13
  • Position: #281 / 532
  • Number of attempts: 2
hello-world-vimgolf - 2389 entries

Simple number generation

  • Best score: 10
  • Best player score: 10
  • Position: #120 / 678
  • Number of attempts: 4
Plotting some variables in python - 1592 entries

4 sets of (x,y) variables to plot. Just increment the numbers! Well, let's change the colors of the lines as well. Oh and we meant to plot the absolute values of course.

  • Best score: 34
  • Best player score: 55
  • Position: #231 / 339
  • Number of attempts: 2
Simple, Practical, and Common - 33411 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: 25
  • Position: #3398 / 7372
  • Number of attempts: 3
Every other line - 2894 entries

AaAaAaA

  • Best score: 12
  • Best player score: 17
  • Position: #459 / 701
  • Number of attempts: 1
Just the middle - 11364 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #2319 / 4165
  • Number of attempts: 1
Roman numerals - 68 entries

Use the substitutions on top to convert unary to Roman numerals.

  • Best score: 17
  • Best player score: 29
  • Position: #24 / 27
  • Number of attempts: 2
Words in parens - 12861 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 22
  • Position: #3508 / 3947
  • Number of attempts: 3
Hole-in-one - 1012 entries

Lets take this golf thing literally.. Drive off the tee into the hole, and of course you don't strike the ball completely clean.

  • Best score: 15
  • Best player score: 22
  • Position: #225 / 302
  • Number of attempts: 1
jessepye
Twitter:

entered into 12 challenges

contributed 0 challenges