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 - 34012 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: #2921 / 7513
  • Number of attempts: 7
Every other line - 2951 entries

AaAaAaA

  • Best score: 12
  • Best player score: 13
  • Position: #99 / 712
  • Number of attempts: 6
Forgot to follow the naming convention... - 52 entries

Rename everything like MY_VAR_SOMETHING to MyVarSomething.

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

Swap the blank lines and the aaa lines.

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

Different type of code

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

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

  • Best score: 28
  • Best player score: 28
  • Position: #3 / 22
  • Number of attempts: 3
Comparing scores - 148 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: #11 / 37
  • Number of attempts: 4
Permutations N=4 - 82 entries

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

  • Best score: 25
  • Best player score: 25
  • Position: #3 / 22
  • Number of attempts: 3
Printable ASCII characters - 171 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 / 47
  • Number of attempts: 6
Enharmonic Equivalents - 74 entries

Transform # and b to digraphs

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

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

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

entered into 11 challenges

contributed 0 challenges