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

Box it - 4810 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 34
  • Number of attempts: 3
Saving the hashes(#) - 1826 entries

The following file is copied from vimcasts.org(Its only for learning purpose,hope the site owner doesn't mind it), its probably the easiest of challenges.Our goal is to delete every line which doesn't contain a hash signs. The remaining hash signs with numbers are then sorted to get the final output.

  • Best score: 20
  • Best player score: 32
  • Number of attempts: 1
multiple cursor alternative - 1233 entries

from: https://www.reddit.com/r/vim/comments/6w5pfa/crosspost_from_remacs_how_would_you_do_this_in_vim/

  • Best score: 19
  • Best player score: 28
  • Number of attempts: 1
-a-b-c- - 2760 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 16
  • Number of attempts: 1
V to the i - 4188 entries

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

  • Best score: 7
  • Best player score: 14
  • Number of attempts: 1
Flip the bit - 86 entries

Change the specific 0 to a 1.

  • Best score: 8
  • Best player score: 8
  • Number of attempts: 2
From argument to object - 1175 entries

This task typifies those programmers endure while coding. This C-family pseudocode needs a function argument to be repurposed as an object call. Simply search and replace? Repeat a pattern of edits?

  • Best score: 17
  • Best player score: 26
  • Number of attempts: 1
Words in parens - 11561 entries

We should all ace this, right?

  • Best score: 14
  • Best player score: 17
  • Number of attempts: 1
Just the middle - 9860 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Number of attempts: 2
One to Ten - 1472 entries

Generate the sequence of numbers from 1 to 10, one number per line. Inspired by this Reddit thread: https://redd.it/ak4it2

  • Best score: 12
  • Best player score: 21
  • Number of attempts: 4
I forgot quotes - 13089 entries

Oops.

  • Best score: 10
  • Best player score: 16
  • Number of attempts: 2
One number per line - 14817 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 22
  • Number of attempts: 3
Team names - 1568 entries

The team names are misspelled.

  • Best score: 16
  • Best player score: 24
  • Number of attempts: 1
JvdB01
Twitter:

entered into 13 challenges

contributed 0 challenges