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

Yo To Hello - 1130 entries

Simply Turn Yo To Hello

  • Best score: 10
  • Best player score: 10
  • Position: #65 / 524
  • Number of attempts: 2
Simple, Practical, and Common - 33600 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: #1633 / 7412
  • Number of attempts: 7
prepend * to every non-blank line - 6304 entries

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

  • Best score: 10
  • Best player score: 10
  • Position: #182 / 1536
  • Number of attempts: 8
One number per line - 18711 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 14
  • Position: #490 / 3858
  • Number of attempts: 12
Quote modules - 1073 entries

Complete golang import statement.

  • Best score: 21
  • Best player score: 21
  • Position: #24 / 280
  • Number of attempts: 11
Add semicolons - 10848 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 10
  • Position: #547 / 3061
  • Number of attempts: 3
One to Ten - 2209 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: #28 / 669
  • Number of attempts: 4
move titles next to url, in quotes - 529 entries

had trouble with something similar

  • Best score: 19
  • Best player score: 22
  • Position: #77 / 139
  • Number of attempts: 5
I forgot quotes - 15974 entries

Oops.

  • Best score: 10
  • Best player score: 15
  • Position: #2351 / 4175
  • Number of attempts: 3
Rene Ribaud
Twitter:

entered into 9 challenges

contributed 0 challenges