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

Simply Turn Yo To Hello

  • Best score: 8
  • Best player score: 10
  • Position: #72 / 529
  • Number of attempts: 1
Simple, Practical, and Common - 33724 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: #2159 / 7442
  • Number of attempts: 7
prepend * to every non-blank line - 6337 entries

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

  • Best score: 10
  • Best player score: 11
  • Position: #567 / 1546
  • Number of attempts: 3
One number per line - 18755 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 14
  • Position: #654 / 3870
  • Number of attempts: 8
V to the i - 4813 entries

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

  • Best score: 7
  • Best player score: 8
  • Position: #1454 / 1897
  • Number of attempts: 2
Add semicolons - 10881 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Position: #1457 / 3072
  • Number of attempts: 2
Box it - 7916 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 24
  • Position: #938 / 1881
  • Number of attempts: 1
Just the middle - 11484 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #3061 / 4209
  • Number of attempts: 3
Increment each number - 1025 entries

Increment each number individually by one

  • Best score: 15
  • Best player score: 15
  • Position: #49 / 249
  • Number of attempts: 1
I forgot quotes - 16022 entries

Oops.

  • Best score: 10
  • Best player score: 11
  • Position: #1221 / 4189
  • Number of attempts: 6
-a-b-c- - 3216 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 14
  • Position: #407 / 1138
  • Number of attempts: 3
A HAPPY NEW YEAR 2014 ! - 10682 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 11
  • Position: #1518 / 3689
  • Number of attempts: 3
switch variable - 5079 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 11
  • Position: #612 / 1749
  • Number of attempts: 3
nico
Twitter:

Linguistics PhD student. Lapsed mathematician and once-lapsed Catholic. Computational pragmatics, formal semantics, and sacramental theology.

entered into 13 challenges

contributed 0 challenges