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: 15
  • Position: #689 / 1015
  • Number of attempts: 8
Simple, Practical, and Common - 32904 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: #1989 / 7270
  • Number of attempts: 13
Hogwarts Email Sorting - 828 entries

Given a list of emails, get the students full name and their associated house.

  • Best score: 20
  • Best player score: 20
  • Position: #13 / 237
  • Number of attempts: 6
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: 16
  • Position: #950 / 1463
  • Number of attempts: 3
One number per line - 18377 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 14
  • Position: #580 / 3787
  • Number of attempts: 13
Refactor typescript arrow function type - 287 entries

Make arrow function type less verbose and easier to read

  • Best score: 20
  • Best player score: 20
  • Position: #8 / 63
  • Number of attempts: 8
Add semicolons - 10539 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 10
  • Position: #314 / 2988
  • Number of attempts: 7
Box it - 7680 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 21
  • Position: #237 / 1835
  • Number of attempts: 10
One to Ten - 2093 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: 12
  • Position: #214 / 641
  • Number of attempts: 13
bruno cunha
Twitter:

entered into 9 challenges

contributed 0 challenges