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

lipsum lines - 239 entries

Convert a quoted block of text into strings in a list.

  • Best score: 28
  • Best player score: 31
  • Number of attempts: 4
I forgot quotes - 11130 entries

Oops.

  • Best score: 10
  • Best player score: 16
  • Number of attempts: 4
-a-b-c- - 2491 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 14
  • Number of attempts: 5
Words in parens - 10716 entries

We should all ace this, right?

  • Best score: 14
  • Best player score: 14
  • Number of attempts: 4
Extract argument from function - 1933 entries

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

  • Best score: 13
  • Best player score: 13
  • Number of attempts: 3
Basic renumbering - 4446 entries

Renumbering Basic.

  • Best score: 2
  • Best player score: 14
  • Number of attempts: 8
Count both ways - 859 entries

Right AND down.

  • Best score: 13
  • Best player score: 14
  • Number of attempts: 4
Shebangs for all - 1573 entries

We've all seen or used a shebang once or twice. Ditch the specific paths and leave just a dynamic Ruby and Python bath behind.

  • Best score: 11
  • Best player score: 11
  • Number of attempts: 10
A HAPPY NEW YEAR 2014 ! - 9319 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 11
  • Number of attempts: 4
NBCU Weekly Challenge - #0 - 118 entries

One of our favorites lines here at NBCU! p.s. The first version of #0 was deleted due to me copy/pasting a HTML entity. Congrats to the one who figured that out, you are a true ninja warrior!

  • Best score: 30
  • Best player score: 30
  • Number of attempts: 6
switch variable - 4212 entries

how fast can you switch two variable ?

  • Best score: 3
  • Best player score: 11
  • Number of attempts: 4
Where should I put the Newline? - 788 entries

Help me put the newline.

  • Best score: 7
  • Best player score: 7
  • Number of attempts: 2
Simple, Practical, and Common - 23284 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: 2
  • Best player score: 22
  • Number of attempts: 5
Letter case trickery - 1424 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: 10
  • Number of attempts: 5
Don't know what this is - 1678 entries

Replace contents of brackets with matching number of spaces. Don't ask what the format's supposed to be.

  • Best score: 11
  • Best player score: 11
  • Number of attempts: 8
That hyphen - 2037 entries

"vim vi improved"

  • Best score: 9
  • Best player score: 11
  • Number of attempts: 5
Vice versa - 5698 entries

Little role switching.

  • Best score: 2
  • Best player score: 12
  • Number of attempts: 5
Lisp Condense - 371 entries

Reduce 4 cons selection operations down to one function call.

  • Best score: 13
  • Best player score: 13
  • Number of attempts: 5
Condensed Cases - 675 entries

Apple's new programming language, Swift, allows two style of case statements: 1) one Enum case on each line, or 2) multiple Enum cases on a single line. Convert the following from the first case (no pun intended) to the second type.

  • Best score: 12
  • Best player score: 12
  • Number of attempts: 8
Simple text editing with Vim - 10206 entries

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

  • Best score: 13
  • Best player score: 13
  • Number of attempts: 3
Roberto Alegro
Twitter:

Roberto, 15 anos, curto musica eletrônica, principalmente HardStyle, sou ateu, gosto de exatas, adoro informática, uso Ubuntu e outras cositas más

entered into 20 challenges

contributed 0 challenges