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 - 4105 entries

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

  • Best score: 9
  • Best player score: 10
  • Position: #278 / 1015
  • Number of attempts: 5
Simple, Practical, and Common - 32910 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
  • Position: #1522 / 7271
  • Number of attempts: 10
prepend * to every non-blank line - 5959 entries

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

  • Best score: 10
  • Best player score: 15
  • Position: #913 / 1463
  • Number of attempts: 2
One number per line - 18378 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 14
  • Position: #464 / 3788
  • Number of attempts: 18
Aliases for cd - 819 entries

Create these beautiful aliases with as few strokes as possible. Are you up for the challenge?

  • Best score: 30
  • Best player score: 57
  • Position: #110 / 146
  • Number of attempts: 2
Applying same text modification in several lines - 2748 entries

Remove identical text at the beginning of several lines and the closing parenthesis.

  • Best score: 12
  • Best player score: 13
  • Position: #43 / 815
  • Number of attempts: 7
remove lines containing the word "reader" - 3454 entries

easy stuff

  • Best score: 9
  • Best player score: 9
  • Position: #16 / 1121
  • Number of attempts: 4
Box it - 7680 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 21
  • Position: #34 / 1835
  • Number of attempts: 4
Cool or not? - 761 entries

abc trying to be cool or not...

  • Best score: 15
  • Best player score: 15
  • Position: #12 / 216
  • Number of attempts: 5
Two pairs of cluster of letters creates word - 710 entries

Clean and group.

  • Best score: 17
  • Best player score: 17
  • Position: #8 / 166
  • Number of attempts: 7
Change part of a function name in multiple occurrences - 598 entries

Change the middle part of the function name in multiple places, preferably using the next and dot commands.

  • Best score: 14
  • Best player score: 14
  • Position: #4 / 191
  • Number of attempts: 4
Simple format (2) - 306 entries

try again!

  • Best score: 23
  • Best player score: 25
  • Position: #22 / 64
  • Number of attempts: 9
Santa's naughty / nice list - 77 entries

Christmas is here and Santa hasn't decided who's naughty or nice yet. He's given a list of names to his programmer friend to quickly split the children into naughty and nice. Hint: There's a hidden pattern that might be familiar.

  • Best score: 39
  • Best player score: 43
  • Position: #8 / 23
  • Number of attempts: 5
rye bread
Twitter:

IEEE Std 1003.1-2017 3.452

entered into 13 challenges

contributed 0 challenges