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 - 32992 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: #478 / 7283
  • Number of attempts: 5
Swap values - 4482 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 11
  • Position: #62 / 1245
  • Number of attempts: 7
One number per line - 18426 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 14
  • Position: #36 / 3799
  • Number of attempts: 11
Split line with dots - 2111 entries

This line is too long, split it.

  • Best score: 15
  • Best player score: 15
  • Position: #7 / 624
  • Number of attempts: 4
Every other line - 2839 entries

AaAaAaA

  • Best score: 12
  • Best player score: 13
  • Position: #128 / 688
  • Number of attempts: 5
Start coding format - 133 entries

I used to start coding with following format: int main(){ -(cursor here) }

  • Best score: 22
  • Best player score: 22
  • Position: #19 / 65
  • Number of attempts: 2
Just the middle - 11261 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Position: #636 / 4135
  • Number of attempts: 7
Acute accents - 31 entries

Featuring all 17 lowercase letters with an acute accent digraph. Find a way to automate the digraphs.

  • Best score: 18
  • Best player score: 18
  • Position: #15 / 23
  • Number of attempts: 1
replace 2nd column blanks with values in same column if blank - 219 entries

Where ,SOMELOGB and ,SOMELOGC replaces each /r carriage return if 2nd column is blank. The replace only happens if 2nd column is blank though and should replace up to the non blank row.

  • Best score: 15
  • Best player score: 15
  • Position: #5 / 75
  • Number of attempts: 4
Vice versa - 7563 entries

Little role switching.

  • Best score: 12
  • Best player score: 12
  • Position: #184 / 2054
  • Number of attempts: 7
Double and switch - 37 entries

Aaaanother case switcher

  • Best score: 18
  • Best player score: 18
  • Position: #5 / 17
  • Number of attempts: 2
Sorting a glossary - 115 entries

Sort a glossary. Glossary head contains a header phrase ending with ':' and glossary body has multi line text indented with a tab.

  • Best score: 6
  • Best player score: 6
  • Position: #44 / 74
  • Number of attempts: 2
Order and join - 884 entries

There's something special about the input order.

  • Best score: 10
  • Best player score: 10
  • Position: #7 / 243
  • Number of attempts: 2
From A to B - 556 entries

Mirror and change this text block

  • Best score: 16
  • Best player score: 16
  • Position: #11 / 153
  • Number of attempts: 8
I forgot quotes - 15769 entries

Oops.

  • Best score: 10
  • Best player score: 10
  • Position: #483 / 4119
  • Number of attempts: 10
-a-b-c- - 3125 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 13
  • Position: #185 / 1114
  • Number of attempts: 5
A HAPPY NEW YEAR 2014 ! - 10555 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 11
  • Position: #1053 / 3642
  • Number of attempts: 3
Under the cupola - 45 entries

Taking some liberty about the name and plot of the Stephen King's famous novel (and TV series) to make this challenge. Are you able to recreate graphically the key phrase of the story? (I think is gonna be hard!)

  • Best score: 33
  • Best player score: 34
  • Position: #11 / 17
  • Number of attempts: 2
Untangle my tail, please! - 54 entries

You know, this words were playing to chase their tails and Oops! What happened? Now we have a complete mess, their tails are totally tangled, can you please help them to untangle their tails?

  • Best score: 16
  • Best player score: 17
  • Position: #20 / 30
  • Number of attempts: 2
Majo
Twitter:

entered into 19 challenges

contributed 0 challenges