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 - 4447 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 47
  • Number of attempts: 1
Array propagate - 253 entries

Complete the array with the keys as part of the value

  • Best score: 23
  • Best player score: 28
  • Number of attempts: 3
That hyphen - 2259 entries

"vim vi improved"

  • Best score: 9
  • Best player score: 19
  • Number of attempts: 1
ninja substitution - 790 entries

How can you reuse a previous substitution ?

  • Best score: 14
  • Best player score: 32
  • Number of attempts: 1
Words in parens - 11435 entries

We should all ace this, right?

  • Best score: 14
  • Best player score: 15
  • Number of attempts: 5
Line under headers - 717 entries

Put a line under each header, and remove the other markdown formatting.

  • Best score: 26
  • Best player score: 36
  • Number of attempts: 1
abcd > a b c d - 241 entries

transform the single spaces into 4 spaces repeat for each line

  • Best score: 15
  • Best player score: 15
  • Number of attempts: 1
Order and join - 773 entries

There's something special about the input order.

  • Best score: 10
  • Best player score: 23
  • Number of attempts: 1
Simple, Practical, and Common - 27127 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
  • Number of attempts: 7
Letter case trickery - 1451 entries

This file is in a downright esoteric format, consisting of hexadecimal numbers, non-hexadecimal keywords, and "Z" indicating end-of-line. Make the hexadecimal numbers lowercase.

  • Best score: 9
  • Best player score: 11
  • Number of attempts: 2
Collect List - 3634 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 22
  • Number of attempts: 4
From argument to object - 1135 entries

This task typifies those programmers endure while coding. This C-family pseudocode needs a function argument to be repurposed as an object call. Simply search and replace? Repeat a pattern of edits?

  • Best score: 17
  • Best player score: 21
  • Number of attempts: 5
Adam's challenge - 833 entries

Change both normal to bold and 4 by 2. Adam Wathan challenge this on twitter . He did it in 11 keystrokes on Sublime.

  • Best score: 18
  • Best player score: 22
  • Number of attempts: 3
Vertical Limit - 2168 entries

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

  • Best score: 21
  • Best player score: 25
  • Number of attempts: 1
Víctor López
Twitter:

Father & sometimes developer. The language is only a tool

entered into 14 challenges

contributed 0 challenges