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

Whitespace, empty lines and tabs - 2688 entries

Convert tabs to spaces, strip empty lines and trailing whitespace.

  • Best score: 16
  • Best player score: 22
  • Number of attempts: 5
Simple, Practical, and Common - 28817 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: 10
Extract argument from function - 2106 entries

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

  • Best score: 13
  • Best player score: 16
  • Number of attempts: 1
Simple text editing with Vim - 10897 entries

Make the pairs of lines match up by making each second line same as first

  • Best score: 13
  • Best player score: 14
  • Number of attempts: 4
Words in parens - 11797 entries

We should all ace this, right?

  • Best score: 14
  • Best player score: 14
  • Number of attempts: 7
Swap values inside brackets - 2044 entries

Easy challenge.

  • Best score: 14
  • Best player score: 15
  • Number of attempts: 12
One number per line - 15558 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 14
  • Number of attempts: 16
Rebecca V.
Twitter:

This is for sentences that are too long for Snapchat.

entered into 7 challenges

contributed 0 challenges