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

Rural Post - 4567 entries

Simple challenge to remove all but the post code on each line

  • Best score: 9
  • Best player score: 11
  • Position: #507 / 1114
  • Number of attempts: 4
Simple, Practical, and Common - 33801 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: 26
  • Position: #3704 / 7459
  • Number of attempts: 4
prepend * to every non-blank line - 6358 entries

Prepend an asterisk to every non-blank line in the input file.

  • Best score: 10
  • Best player score: 12
  • Position: #781 / 1551
  • Number of attempts: 4
Add semicolons - 10905 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 12
  • Position: #1885 / 3079
  • Number of attempts: 4
Box it - 7956 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 25
  • Position: #1028 / 1887
  • Number of attempts: 3
One to Ten - 2240 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: 15
  • Position: #546 / 681
  • Number of attempts: 1
Join 'em - 252 entries

This shouldn't be too tough

  • Best score: 4
  • Best player score: 5
  • Position: #57 / 152
  • Number of attempts: 1
Remove quotes after first field - 383 entries

Remove the quotes around each field except for the first field.

  • Best score: 16
  • Best player score: 26
  • Position: #75 / 92
  • Number of attempts: 3
Reorder the groups - 1182 entries

Change the order so that the groups of fruit come before the vegetables.

  • Best score: 14
  • Best player score: 21
  • Position: #181 / 265
  • Number of attempts: 6
Raphael
Twitter:

I automate stuff.

entered into 9 challenges

contributed 0 challenges