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

Alsa configuration - 471 entries

I'm tweaking my ~/.asoundrc file!

  • Best score: 22
  • Best player score: 29
  • Number of attempts: 7
JS notation to Immutable.js notation - 143 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: 38
  • Number of attempts: 3
Just the middle - 9687 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Number of attempts: 3
V to the i - 4117 entries

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

  • Best score: 7
  • Best player score: 8
  • Number of attempts: 2
Basic renumbering - 4841 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 23
  • Number of attempts: 2
Sorting a glossary - 101 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
  • Number of attempts: 2
lipsum lines - 239 entries

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

  • Best score: 28
  • Best player score: 35
  • Number of attempts: 4
comments galore - 910 entries

Basic comment reformatting

  • Best score: 10
  • Best player score: 11
  • Number of attempts: 2
Swap values - 3773 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 12
  • Number of attempts: 7
Mirrored text - 153 entries

backward and forward, and long enough to be challenging

  • Best score: 14
  • Best player score: 16
  • Number of attempts: 4
I forgot quotes - 12736 entries

Oops.

  • Best score: 10
  • Best player score: 18
  • Number of attempts: 1
Simple, Practical, and Common - 26839 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
  • Number of attempts: 10
replacing each line of a block selection - 2591 entries

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

  • Best score: 18
  • Best player score: 29
  • Number of attempts: 4
Sebastian Pardo
Twitter:

I study life histories of sharks and rays (for my PhD) and salmon (postdoc) and live in Musqueam, Squamish, and Tsleil-Waututh traditional territories.

entered into 13 challenges

contributed 0 challenges