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 - 33734 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: #2104 / 7444
  • Number of attempts: 11
Swap values - 4643 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 11
  • Position: #318 / 1274
  • Number of attempts: 10
prepend * to every non-blank line - 6352 entries

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

  • Best score: 10
  • Best player score: 20
  • Position: #1262 / 1548
  • Number of attempts: 4
One number per line - 18766 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 14
  • Position: #632 / 3873
  • Number of attempts: 14
Add semicolons - 10887 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 10
  • Position: #472 / 3074
  • Number of attempts: 2
Com(m)a Trouble - 3875 entries

Someone was real stupid when placing his commas. Can you fix it?

  • Best score: 12
  • Best player score: 12
  • Position: #110 / 876
  • Number of attempts: 8
Box it - 7916 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 23
  • Position: #741 / 1881
  • Number of attempts: 6
Just the middle - 11493 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Position: #1362 / 4212
  • Number of attempts: 2
Vice versa - 7952 entries

Little role switching.

  • Best score: 12
  • Best player score: 12
  • Position: #543 / 2139
  • Number of attempts: 5
I forgot quotes - 16029 entries

Oops.

  • Best score: 10
  • Best player score: 10
  • Position: #1010 / 4191
  • Number of attempts: 10
A HAPPY NEW YEAR 2014 ! - 10688 entries

A HAPPY NEW YEAR 2014 !

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

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 11
  • Position: #600 / 1749
  • Number of attempts: 5
Atzz
Twitter:

#駆け出しエンジニア #PardotSpecialist #SalesforceAdministrator #Elm

entered into 12 challenges

contributed 0 challenges