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 - 32903 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
  • Position: #1201 / 7270
  • Number of attempts: 8
One number per line - 18377 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 14
  • Position: #362 / 3787
  • Number of attempts: 7
replacing each line of a block selection - 2791 entries

replace each line's ../assets/js with /javascripts

  • Best score: 18
  • Best player score: 30
  • Position: #613 / 732
  • Number of attempts: 1
Switch function arguments - 1982 entries

How to switch two arguments of a function.

  • Best score: 11
  • Best player score: 15
  • Position: #497 / 627
  • Number of attempts: 2
Reverse and double space - 445 entries

Reverse the order of the given lines and double space everything

  • Best score: 14
  • Best player score: 17
  • Position: #118 / 183
  • Number of attempts: 1
Remove noise from HTTP log - 660 entries

This piece of log (from the year 2000) contains some irrelevant data. We only want to see the HTTP method and resource.

  • Best score: 15
  • Best player score: 15
  • Position: #23 / 260
  • Number of attempts: 3
Remove semicolons after expressions - 541 entries

A follow-up for http://vimgolf.com/challenges/4fc9d767d3a0d4000100000e.

  • Best score: 6
  • Best player score: 8
  • Position: #147 / 235
  • Number of attempts: 1
switch variable - 4917 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 11
  • Position: #113 / 1701
  • Number of attempts: 5
The meaning - 521 entries

Numbers are fun!

  • Best score: 5
  • Best player score: 5
  • Position: #105 / 336
  • Number of attempts: 2
Make it more readable - 1891 entries

Insert blank lines to make it more organized and readable

  • Best score: 13
  • Best player score: 19
  • Position: #535 / 622
  • Number of attempts: 1
Reverse Simple Deletion - 758 entries

You did the simple deletion, now reverse it.

  • Best score: 11
  • Best player score: 12
  • Position: #221 / 429
  • Number of attempts: 2
Josh Steiner
Twitter:

entered into 11 challenges

contributed 0 challenges