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 - 33396 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 / 7367
  • Number of attempts: 11
Swap values - 4548 entries

Well, swap the values...

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

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

  • Best score: 10
  • Best player score: 20
  • Position: #1234 / 1518
  • Number of attempts: 4
One number per line - 18627 entries

Just give me the numbers.

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

Simply add a semicolon at the end of each line

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

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

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

Create a box around a line.

  • Best score: 21
  • Best player score: 23
  • Position: #740 / 1865
  • Number of attempts: 6
Just the middle - 11360 entries

Delete the instructions at the top and bottom.

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

Little role switching.

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

Oops.

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

A HAPPY NEW YEAR 2014 !

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

how fast can you switch two variable ?

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

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

entered into 12 challenges

contributed 0 challenges