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

Simply Turn Yo To Hello

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

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

  • Best score: 10
  • Best player score: 11
  • Position: #571 / 1563
  • Number of attempts: 3
One number per line - 18903 entries

Just give me the numbers.

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

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

  • Best score: 7
  • Best player score: 8
  • Position: #1462 / 1915
  • Number of attempts: 2
Add semicolons - 10956 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Position: #1467 / 3098
  • Number of attempts: 2
Box it - 8003 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 24
  • Position: #948 / 1901
  • Number of attempts: 1
Just the middle - 11620 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #3073 / 4258
  • Number of attempts: 3
Increment each number - 1067 entries

Increment each number individually by one

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

Oops.

  • Best score: 10
  • Best player score: 11
  • Position: #1228 / 4225
  • Number of attempts: 6
-a-b-c- - 3242 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 14
  • Position: #409 / 1147
  • Number of attempts: 3
A HAPPY NEW YEAR 2014 ! - 10758 entries

A HAPPY NEW YEAR 2014 !

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

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 11
  • Position: #612 / 1764
  • 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