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

Simply Turn Yo To Hello

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 2
prepend * to every non-blank line - 5605 entries

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

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 8
Quote modules - 963 entries

Complete golang import statement.

  • Best score: 21
  • Best player score: 21
  • Number of attempts: 11
Add semicolons - 10106 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 3
move titles next to url, in quotes - 430 entries

had trouble with something similar

  • Best score: 19
  • Best player score: 22
  • Number of attempts: 5
One to Ten - 2017 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
  • Number of attempts: 4
One number per line - 18103 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 14
  • Number of attempts: 12
Simple, Practical, and Common - 32533 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
  • Number of attempts: 7
I forgot quotes - 15547 entries

Oops.

  • Best score: 10
  • Best player score: 15
  • Number of attempts: 3
Rene Ribaud
Twitter:

entered into 9 challenges

contributed 0 challenges