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

Simple, Practical, and Common - 32962 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: 30
  • Position: #5239 / 7276
  • Number of attempts: 2
Hogwarts Email Sorting - 831 entries

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

  • Best score: 20
  • Best player score: 22
  • Position: #133 / 238
  • Number of attempts: 8
prepend * to every non-blank line - 5977 entries

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

  • Best score: 10
  • Best player score: 21
  • Position: #1264 / 1468
  • Number of attempts: 1
V to the i - 4641 entries

Input is 99 V's. Output is 100 i's.

  • Best score: 7
  • Best player score: 7
  • Position: #722 / 1857
  • Number of attempts: 5
Add semicolons - 10545 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 15
  • Position: #2235 / 2989
  • Number of attempts: 4
Array transposition - 2312 entries

Transpose two arrays into one.

  • Best score: 16
  • Best player score: 56
  • Position: #419 / 431
  • Number of attempts: 3
Jorge Romeu Huidobro
Twitter:

Hello stranger

entered into 6 challenges

contributed 0 challenges