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 - 32910 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 / 7271
  • Number of attempts: 5
Swap values - 4440 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 13
  • Position: #518 / 1241
  • Number of attempts: 3
V to the i - 4641 entries

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

  • Best score: 7
  • Best player score: 8
  • Position: #1117 / 1857
  • Number of attempts: 1
Make HTML List - 987 entries

Turn the comma separated list into an unordered html list.

  • Best score: 33
  • Best player score: 45
  • Position: #120 / 261
  • Number of attempts: 1
JS notation to Immutable.js notation - 155 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: 35
  • Best player score: 39
  • Position: #30 / 59
  • 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: #23 / 74
  • Number of attempts: 1
comments galore - 970 entries

Basic comment reformatting

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

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

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

I'm tweaking my ~/.asoundrc file!

  • Best score: 22
  • Best player score: 25
  • Position: #63 / 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 - 4178 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 17
  • Position: #909 / 1166
  • Number of attempts: 1
I forgot quotes - 15740 entries

Oops.

  • Best score: 10
  • Best player score: 15
  • Position: #2098 / 4115
  • Number of attempts: 1
-a-b-c- - 3118 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 15
  • Position: #604 / 1112
  • Number of attempts: 1
A HAPPY NEW YEAR 2014 ! - 10533 entries

A HAPPY NEW YEAR 2014 !

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

We should all ace this, right?

  • Best score: 13
  • Best player score: 23
  • Position: #3616 / 3919
  • Number of attempts: 1
Sort and add attributes - 1191 entries

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

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

entered into 16 challenges

contributed 0 challenges