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 - 33236 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: #364 / 7330
  • Number of attempts: 5
Swap values - 4513 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 13
  • Position: #524 / 1250
  • Number of attempts: 3
V to the i - 4717 entries

Input is 99 V's. Output is 100 i's.

  • Best score: 7
  • Best player score: 8
  • Position: #1126 / 1874
  • Number of attempts: 1
Make HTML List - 997 entries

Turn the comma separated list into an unordered html list.

  • Best score: 33
  • Best player score: 45
  • Position: #121 / 265
  • Number of attempts: 1
JS notation to Immutable.js notation - 161 entries

Now Immutable.js made its way into many frontends. This challenge consists of a typical refactoring that many of us are facing now.

  • Best score: 34
  • Best player score: 39
  • Position: #31 / 60
  • Number of attempts: 2
Sorting a glossary - 118 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: #23 / 76
  • Number of attempts: 1
comments galore - 982 entries

Basic comment reformatting

  • Best score: 10
  • Best player score: 10
  • Position: #137 / 414
  • Number of attempts: 2
lipsum lines - 248 entries

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

  • Best score: 28
  • Best player score: 28
  • Position: #11 / 90
  • Number of attempts: 5
Alsa configuration - 485 entries

I'm tweaking my ~/.asoundrc file!

  • Best score: 22
  • Best player score: 25
  • Position: #64 / 123
  • Number of attempts: 3
Manual SQL - 114 entries

Change select and insert queries to simulate inserting a new record.

  • Best score: 49
  • Best player score: 53
  • Position: #9 / 44
  • Number of attempts: 4
Collect List - 4228 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 17
  • Position: #918 / 1179
  • Number of attempts: 1
I forgot quotes - 15880 entries

Oops.

  • Best score: 10
  • Best player score: 15
  • Position: #2117 / 4146
  • Number of attempts: 1
-a-b-c- - 3160 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 15
  • Position: #612 / 1124
  • Number of attempts: 1
A HAPPY NEW YEAR 2014 ! - 10584 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 11
  • Position: #916 / 3653
  • Number of attempts: 3
Words in parens - 12821 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 23
  • Position: #3633 / 3938
  • Number of attempts: 1
Sort and add attributes - 1273 entries

Sort the states and add the attribute country to each record.

  • Best score: 33
  • Best player score: 33
  • Position: #195 / 510
  • Number of attempts: 2
Michel Ganguin
Twitter:

entered into 16 challenges

contributed 0 challenges