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 - 33483 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: 24
  • Position: #2884 / 7384
  • Number of attempts: 7
Every other line - 2901 entries

AaAaAaA

  • Best score: 12
  • Best player score: 13
  • Position: #97 / 702
  • Number of attempts: 6
Forgot to follow the naming convention... - 34 entries

Rename everything like MY_VAR_SOMETHING to MyVarSomething.

  • Best score: 32
  • Best player score: 32
  • Position: #4 / 15
  • Number of attempts: 3
Paragraph breaks - 509 entries

Swap the blank lines and the aaa lines.

  • Best score: 10
  • Best player score: 10
  • Position: #8 / 166
  • Number of attempts: 3
Not enough Ps - 67 entries

Different type of code

  • Best score: 13
  • Best player score: 13
  • Position: #18 / 36
  • Number of attempts: 2
50 factorials mod 97 - 50 entries

List 1! to 50!, but give your answer mod 97.

  • Best score: 28
  • Best player score: 28
  • Position: #3 / 19
  • Number of attempts: 3
Comparing scores - 95 entries

If Alice and Bob both did the challenge, put their entries together in the top paragraph, so we can compare their scores more easily.

  • Best score: 18
  • Best player score: 21
  • Position: #10 / 34
  • Number of attempts: 4
Permutations N=4 - 61 entries

Could use backtracking or other algorithm to generate sorted numbers. Second chance !

  • Best score: 25
  • Best player score: 25
  • Position: #3 / 19
  • Number of attempts: 3
Printable ASCII characters - 136 entries

From a blank input, print all 95 printing ASCII characters one per line, from space to tilde.

  • Best score: 22
  • Best player score: 22
  • Position: #4 / 43
  • Number of attempts: 6
Enharmonic Equivalents - 57 entries

Transform # and b to digraphs

  • Best score: 18
  • Best player score: 18
  • Position: #13 / 36
  • Number of attempts: 2
Calculate the table totals - 133 entries

Go ahead... commit the treachery of using vim as a spreadsheet.

  • Best score: 33
  • Best player score: 80
  • Position: #39 / 44
  • Number of attempts: 1
何晨
Twitter:

entered into 11 challenges

contributed 0 challenges