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

Alsa configuration - 471 entries

I'm tweaking my ~/.asoundrc file!

  • Best score: 22
  • Best player score: 22
  • Number of attempts: 4
Simple, Practical, and Common - 26822 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
  • Number of attempts: 7
Vice versa - 6247 entries

Little role switching.

  • Best score: 12
  • Best player score: 12
  • Number of attempts: 4
Make it more readable - 1769 entries

Insert blank lines to make it more organized and readable

  • Best score: 13
  • Best player score: 16
  • Number of attempts: 1
Fill visual area - 70 entries

Just have fun!

  • Best score: 20
  • Best player score: 20
  • Number of attempts: 4
Swap values - 3763 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 11
  • Number of attempts: 5
comments galore - 910 entries

Basic comment reformatting

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 2
switch variable - 4443 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 11
  • Number of attempts: 2
V to the i - 4110 entries

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

  • Best score: 7
  • Best player score: 7
  • Number of attempts: 3
Reformat/Refactor a Golfer Class - 5569 entries

A simple case of removing unneeded code and fixing broken indentation.

  • Best score: 32
  • Best player score: 35
  • Number of attempts: 4
Free hyphen! - 117 entries

Just like "Inner hyphens", but I'm giving you a free hyphen to play with. Will your solution be any different?

  • Best score: 9
  • Best player score: 11
  • Number of attempts: 2
Collect List - 3613 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 12
  • Number of attempts: 5
Just the middle - 9685 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Number of attempts: 5
Change name of a variable - 146 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
I forgot quotes - 12726 entries

Oops.

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 5
Inner hyphens - 114 entries

Yet another hyphen challenge. Adding 5 hyphens to a file shouldn't be too hard.

  • Best score: 11
  • Best player score: 12
  • Number of attempts: 2
Simple text editing with Vim - 10678 entries

Make the pairs of lines match up by making each second line same as first

  • Best score: 13
  • Best player score: 14
  • Number of attempts: 2
SFD-ROC: ASCII Logo Border - 66 entries

Draw a border around this familiar logo ;)

  • Best score: 20
  • Best player score: 20
  • Number of attempts: 4
-a-b-c- - 2689 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 14
  • Number of attempts: 6
Basic renumbering - 4829 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 14
  • Number of attempts: 5
Python: Lots of function arguments - 73 entries

The function definition is too long for one line. The modeline helps you with some typical Python indent settings.

  • Best score: 13
  • Best player score: 13
  • Number of attempts: 2
Space out the alphabet - 1413 entries

Put 3 spaces between adjacent letters.

  • Best score: 15
  • Best player score: 15
  • Number of attempts: 3
Extract argument from function - 2049 entries

The aim is to see if you can do some refactoring very fast.

  • Best score: 13
  • Best player score: 17
  • Number of attempts: 2
Words in parens - 11374 entries

We should all ace this, right?

  • Best score: 14
  • Best player score: 14
  • Number of attempts: 6
paste indent correction - JS - 76 entries

You copy some javascript code from a website and paste it into vim, it does not look good!

  • Best score: 16
  • Best player score: 16
  • Number of attempts: 3
Yahyalexandre33
Twitter:

entered into 25 challenges

contributed 0 challenges