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

120 Degrees - 350 entries

Rotate that triangle.

  • Best score: 14
  • Best player score: 42
  • Number of attempts: 3
Comparing scores - 68 entries

If Alice and Bob both did the challenge, put their entries together in the top paragraph, so we can compare their scores more easily.

  • Best score: 18
  • Best player score: 22
  • Number of attempts: 4
Numbering a List - 1717 entries

Pretty simple, number the list.

  • Best score: 13
  • Best player score: 21
  • Number of attempts: 2
A HAPPY NEW YEAR 2014 ! - 9324 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 12
  • Number of attempts: 2
Change name of a variable - 143 entries

Replace the name of the $variable with the fastest move possible. The challenge is having a command that allow you to easily change the variable name even if its indented.

  • Best score: 9
  • Best player score: 9
  • Number of attempts: 1
Wget failed to download redirections - 158 entries

Output of a wget session, where 302 where not properly handled due to certificate problems, has been saved to a file. Keep the correct URLs to start again downloading.

  • Best score: 15
  • Best player score: 26
  • Number of attempts: 2
One number per line - 11729 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 21
  • Number of attempts: 4
Increment each number - 330 entries

Increment each number individually by one

  • Best score: 6
  • Best player score: 16
  • Number of attempts: 7
Suffix sort - 165 entries

Sort from the end of the line, as if the letters in each line were reversed.

  • Best score: 19
  • Best player score: 28
  • Number of attempts: 3
I forgot quotes - 11130 entries

Oops.

  • Best score: 10
  • Best player score: 17
  • Number of attempts: 3
V to the i - 3741 entries

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

  • Best score: 7
  • Best player score: 8
  • Number of attempts: 2
Delete to the end of the current line - 353 entries

Delete to the end of the current line, but keep the character under the cursor.

  • Best score: 5
  • Best player score: 6
  • Number of attempts: 1
Simple, Practical, and Common - 23300 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: 2
  • Best player score: 24
  • Number of attempts: 3
Don't know what this is - 1678 entries

Replace contents of brackets with matching number of spaces. Don't ask what the format's supposed to be.

  • Best score: 11
  • Best player score: 16
  • Number of attempts: 2
Swap values - 3361 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 18
  • Number of attempts: 1
Just the middle - 8843 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Number of attempts: 4
Neither Fizz nor Buzz - 191 entries

Not your regular increment macro! The gaps are tricky.

  • Best score: 13
  • Best player score: 20
  • Number of attempts: 2
Saher El-Neklawy
Twitter:

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.+++++++++++++++++.++++++++++++++++++.--------.--------------.

entered into 17 challenges

contributed 0 challenges